Skip to content

net: prot_inuse and sock_inuse cleanups

Eric Dumazet netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: inline sock_prot_inuse_add()include/net/sock.h net/core/sock.c+11 -140 replies
2/4net: make sock_inuse_add() availableinclude/net/sock.h net/core/sock.c net/mptcp/subflow.c+11 -130 replies
3/4net: merge net->core.prot_inuse and net->core.sock_inuseinclude/net/netns/core.h include/net/sock.h net/core/sock.c+3 -130 replies
4/4net: drop nopreempt requirement on sock_prot_inuse_add()include/net/sock.h net/ieee802154/socket.c net/ipv4/raw.c +7 more+10 -310 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: prot_inuse and sock_inuse cleanups

From: Eric Dumazet <[email protected]>

Small series cleaning and optimizing sock_prot_inuse_add() and sock_inuse_add().

Eric Dumazet (4):
net: inline sock_prot_inuse_add()
net: make sock_inuse_add() available
net: merge net->core.prot_inuse and net->core.sock_inuse
net: drop nopreempt requirement on sock_prot_inuse_add()

 include/net/netns/core.h |  1 -
 include/net/sock.h       | 27 +++++++++++++++++++++++----
 net/core/sock.c          | 33 +--------------------------------
 net/ieee802154/socket.c  |  4 ++--
 net/ipv4/raw.c           |  2 +-
 net/ipv6/ipv6_sockglue.c |  8 ++++----
 net/mptcp/subflow.c      |  4 +---
 net/netlink/af_netlink.c |  4 ----
 net/packet/af_packet.c   |  4 ----
 net/sctp/socket.c        |  5 -----
 net/smc/af_smc.c         |  2 +-
 net/unix/af_unix.c       |  4 ----
 net/xdp/xsk.c            |  4 ----
 13 files changed, 33 insertions(+), 69 deletions(-)
Signature · 1 line
2.34.0.rc1.387.gb447b232ab-goog