Re: [PATCH net-next v5 2/6] vxlan: drop sock_lock

From
Nikolay Aleksandrov <razor@blackwall.org>
Date
2025-06-18 15:13:49
Also in
intel-wired-lan, linux-kselftest, linux-rdma, lkml
Reply to
Stanislav Fomichev, 2025-06-16
On 6/16/25 19:21, Stanislav Fomichev wrote:
We won't be able to sleep soon in vxlan_offload_rx_ports and won't be
able to grab sock_lock. Instead of having separate spinlock to
manage sockets, rely on rtnl lock. This is similar to how geneve
manages its sockets.

Signed-off-by: Stanislav Fomichev <redacted>
---
 drivers/net/vxlan/vxlan_core.c      | 35 ++++++++++++-----------------
 drivers/net/vxlan/vxlan_private.h   |  2 +-
 drivers/net/vxlan/vxlan_vnifilter.c | 18 ++++++---------
 3 files changed, 22 insertions(+), 33 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Thread (11 messages) 11 messages, 4 authors, last reply 2025-06-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help