diff options
author | Hui Zhou <hui.zhou@corigine.com> | 2023-12-05 12:26:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-07 13:18:53 +0300 |
commit | 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf (patch) | |
tree | 550903c7e46f63b4f1ded5b79b91aea34ad122d4 /include/linux | |
parent | 803a809d3d85cf06a04770fb04b585364d2d26dc (diff) | |
download | linux-0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf.tar.xz |
nfp: flower: fix for take a mutex lock in soft irq context and rcu lock
The neighbour event callback call the function nfp_tun_write_neigh,
this function will take a mutex lock and it is in soft irq context,
change the work queue to process the neighbour event.
Move the nfp_tun_write_neigh function out of range rcu_read_lock/unlock()
in function nfp_tunnel_request_route_v4 and nfp_tunnel_request_route_v6.
Fixes: abc210952af7 ("nfp: flower: tunnel neigh support bond offload")
CC: stable@vger.kernel.org # 6.2+
Signed-off-by: Hui Zhou <hui.zhou@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions