[Devel] [PATCH 0/2] NFS: callback shutdown panic fix

Stanislav Kinsbursky skinsbursky at parallels.com
Fri Jun 1 04:17:34 PDT 2012


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(-)




More information about the Devel mailing list