diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-07 22:00:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-11 09:56:03 +0000 |
commit | 08842c43d0165b0ed78907fd8cc92ce17d857913 (patch) | |
tree | 160989a2a4c9aac50ed9694d32d0dea8912ca5a0 /tools/net | |
parent | e996401e06a5232f61b4906e2eea643fffa88396 (diff) |
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>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions