diff options
author | Hui Zhou <hui.zhou@corigine.com> | 2023-12-05 11:26:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-07 10:18:53 +0000 |
commit | 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf (patch) | |
tree | 550903c7e46f63b4f1ded5b79b91aea34ad122d4 /drivers/net/ethernet/intel/igc | |
parent | 803a809d3d85cf06a04770fb04b585364d2d26dc (diff) |
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 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions