diff options
author | Stanislav Fomichev <stfomichev@gmail.com> | 2025-06-16 09:21:12 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-18 18:53:51 -0700 |
commit | 3e14960f3bd2a9c7d631f2517f0f249d74bfa892 (patch) | |
tree | fcdd5206ffe9ac2c86fc1fd620f3cdefb6e64414 /scripts/lib/kdoc/kdoc_files.py | |
parent | a33556940b5727191613104bced53c93f4a7a3aa (diff) |
geneve: rely on rtnl lock in geneve_offload_rx_ports
udp_tunnel_push_rx_port will grab mutex in the next patch so
we can't use rcu. geneve_offload_rx_ports is called
from geneve_netdevice_event for NETDEV_UDP_TUNNEL_PUSH_INFO and
NETDEV_UDP_TUNNEL_DROP_INFO which both have ASSERT_RTNL.
Entries are added to and removed from the sock_list under rtnl
lock as well (when adding or removing a tunneling device).
Signed-off-by: Stanislav Fomichev <stfomichev@gmail.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20250616162117.287806-2-stfomichev@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions