SUNRPC: add netns refcount tracker to struct svc_xprt
authorEric Dumazet <edumazet@google.com>
Thu, 27 Jan 2022 20:09:35 +0000 (12:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2022 14:47:55 +0000 (14:47 +0000)
commit6cdef8a6ee748ec522aabee049633b16b4115f73
treebe3bd237b6d5973dc25f157a05b8bd1847313c4f
parent960b00336bab06498c7f24cbb62b1f1b8a0acca0
SUNRPC: add netns refcount tracker to struct svc_xprt

struct svc_xprt holds a long lived reference to a netns,
it is worth tracking it.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc_xprt.c