aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorYanguo Li <[email protected]>2023-01-31 09:03:13 +0100
committerJakub Kicinski <[email protected]>2023-02-01 19:56:11 -0800
commit9c6b9cbafdc010b38f4077c8252654381eb46028 (patch)
treeda6c5605d78b786f19ea7f4d2546df1945c4e084 /drivers/net/ethernet/intel/igc
parentcca6e9ff22f79e37da3d73f60c38a84d8ed0c162 (diff)
nfp: flower: avoid taking mutex in atomic context
A mutex may sleep, which is not permitted in atomic context. Avoid a case where this may arise by moving the to nfp_flower_lag_get_info_from_netdev() in nfp_tun_write_neigh() spinlock. Fixes: abc210952af7 ("nfp: flower: tunnel neigh support bond offload") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Yanguo Li <[email protected]> Signed-off-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions