Eric Dumazet 08842c43d0 udp: no longer touch sk->sk_refcnt in early demux
After commits ca065d0cf80f ("udp: no longer use SLAB_DESTROY_BY_RCU")
and 7ae215d23c12 ("bpf: Don't refcount LISTEN sockets in sk_assign()")
UDP early demux no longer need to grab a refcount on the UDP socket.

This save two atomic operations per incoming packet for connected
sockets.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Joe Stringer <joe@wand.net.nz>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-03-11 09:56:03 +00:00
..
2024-03-07 21:12:43 -08:00
2024-02-20 10:50:19 +01:00
2024-02-28 19:36:39 -08:00
2024-01-23 15:13:55 +01:00
2024-01-04 10:23:10 -08:00
2023-10-16 21:05:33 -07:00
2024-02-28 19:36:39 -08:00
2024-03-08 11:39:44 -08:00
2024-02-28 19:36:39 -08:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00