Skip to content

SUNRPC: add some netns refcount trackers

Eric Dumazet linux-nfs netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3SUNRPC: add netns refcount tracker to struct svc_xprtinclude/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c+3 -21 replyApplied
2/3SUNRPC: add netns refcount tracker to struct gss_authnet/sunrpc/auth_gss/auth_gss.c+6 -40 repliesApplied
3/3SUNRPC: add netns refcount tracker to struct rpc_xprtinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c+3 -20 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChuck Lever
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] SUNRPC: add some netns refcount trackers

From: Eric Dumazet <[email protected]>

Effort started in linux-5.17

Our goal is to replace get_net()/put_net() pairs with get_net_track()/put_net_track() to get instant notifications of imbalance bugs in the future.

Patches were split from a bigger series sent one month ago.

Eric Dumazet (3):
SUNRPC: add netns refcount tracker to struct svc_xprt
SUNRPC: add netns refcount tracker to struct gss_auth
SUNRPC: add netns refcount tracker to struct rpc_xprt

 include/linux/sunrpc/svc_xprt.h |  1 +
 include/linux/sunrpc/xprt.h     |  1 +
 net/sunrpc/auth_gss/auth_gss.c  | 10 ++++++----
 net/sunrpc/svc_xprt.c           |  4 ++--
 net/sunrpc/xprt.c               |  4 ++--
 5 files changed, 12 insertions(+), 8 deletions(-)
Signature · 1 line
2.35.0.rc0.227.g00780c9af4-goog