Skip to content

NFS: callback shutdown panic fix

Stanislav Kinsbursky linux-nfs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SUNRPC: new svc_bind() routine introducedfs/lockd/svc.c fs/nfs/callback.c fs/nfsd/nfssvc.c +3 more+43 -170 replies
2/2SUNRPC: move per-net operations from svc_destroy()fs/lockd/svc.c fs/nfs/callback.c fs/nfsd/nfsctl.c +2 more+41 -190 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] NFS: callback shutdown panic fix

This patch set is the back-port of "SUNRPC: separate per-net data creation from service" patch set and "NFS: hard-code init_net for NFS callback transports" patch for 3.5 kernel.

It fixes NULL pointer dereference in svc_destroy(), reported by Dave Jones in "3.4. sunrpc oops during shutdown" e-mail.

The following series implements...

---

Stanislav Kinsbursky (2):
SUNRPC: new svc_bind() routine introduced
SUNRPC: move per-net operations from svc_destroy()

 fs/lockd/svc.c             |   33 +++++++++++++++++++++------------
 fs/nfs/callback.c          |   16 +++++++++++++---
 fs/nfsd/nfsctl.c           |   12 +++++++++---
 fs/nfsd/nfssvc.c           |   23 +++++++++++++++++++++++
 include/linux/sunrpc/svc.h |    1 +
 net/sunrpc/rpcb_clnt.c     |   12 +++++++-----
 net/sunrpc/svc.c           |   23 ++++++++++-------------
 7 files changed, 84 insertions(+), 36 deletions(-)