[PATCH net-next 0/4] net: prot_inuse and sock_inuse cleanups
From: Eric Dumazet <hidden>
Date: 2021-11-15 17:14:50
From: Eric Dumazet <edumazet@google.com> 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(-) -- 2.34.0.rc1.387.gb447b232ab-goog