Skip to content

sunrpc: fix two server-side race problems.

NeilBrown linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sunrpc: remove xpt_poolinclude/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c+0 -70 replies
2/2sunrpc: svc_sock_names should hold ref to socket being closed.net/sunrpc/svcsock.c+6 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] sunrpc: fix two server-side race problems.

Hi Bruce,
I found these while trying to diagnose why a customer hit the
BUG_ON(xprt->xpt_pool != NULL);
in svc_xprt_enqueue (in a 2.6.27 based kernel). I don't think either of these actually explain the problem, but they seem to be bugs none-the-less.

NeilBrown

---

NeilBrown (2):
sunrpc: svc_sock_names should hold ref to socket being closed.
sunrpc: remove xpt_pool

 include/linux/sunrpc/svc_xprt.h |    1 -
 net/sunrpc/svc_xprt.c           |    6 ------
 net/sunrpc/svcsock.c            |   10 ++++++----
 3 files changed, 6 insertions(+), 11 deletions(-)
Signature · 1 line
Signature