diff options
author | Yanguo Li <yanguo.li@corigine.com> | 2023-01-31 09:03:13 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-01 19:56:11 -0800 |
commit | 9c6b9cbafdc010b38f4077c8252654381eb46028 (patch) | |
tree | da6c5605d78b786f19ea7f4d2546df1945c4e084 /samples/trace_events | |
parent | cca6e9ff22f79e37da3d73f60c38a84d8ed0c162 (diff) | |
download | linux-stable-9c6b9cbafdc010b38f4077c8252654381eb46028.tar.gz linux-stable-9c6b9cbafdc010b38f4077c8252654381eb46028.tar.bz2 linux-stable-9c6b9cbafdc010b38f4077c8252654381eb46028.zip |
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 <error27@gmail.com>
Signed-off-by: Yanguo Li <yanguo.li@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230131080313.2076060-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions