1. 15 5月, 2017 2 次提交
  2. 06 2月, 2016 2 次提交
  3. 04 2月, 2015 1 次提交
  4. 25 11月, 2014 1 次提交
  5. 08 8月, 2013 1 次提交
    • T
      SUNRPC: If the rpcbind channel is disconnected, fail the call to unregister · 786615bc
      Trond Myklebust 提交于
      If rpcbind causes our connection to the AF_LOCAL socket to close after
      we've registered a service, then we want to be careful about reconnecting
      since the mount namespace may have changed.
      
      By simply refusing to reconnect the AF_LOCAL socket in the case of
      unregister, we avoid the need to somehow save the mount namespace. While
      this may lead to some services not unregistering properly, it should
      be safe.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Cc: Nix <nix@esperi.org.uk>
      Cc: Jeff Layton <jlayton@redhat.com>
      Cc: stable@vger.kernel.org # 3.9.x
      786615bc
  6. 06 8月, 2013 1 次提交
  7. 05 2月, 2013 1 次提交
  8. 11 12月, 2012 1 次提交
  9. 05 11月, 2012 1 次提交
  10. 31 7月, 2012 1 次提交
  11. 01 6月, 2012 1 次提交
  12. 15 5月, 2012 1 次提交
    • R
      sunrpc: fix kernel-doc warnings · bda14606
      Randy Dunlap 提交于
      Fix kernel-doc warnings in sunrpc/rpc_pipe.c and
      sunrpc/rpcb_clnt.c:
      
      Warning(net/sunrpc/rpcb_clnt.c:428): No description found for parameter 'net'
      Warning(net/sunrpc/rpcb_clnt.c:567): No description found for parameter 'net'
      
      Warning(net/sunrpc/rpc_pipe.c:133): No description found for parameter 'pipe'
      Warning(net/sunrpc/rpc_pipe.c:133): Excess function parameter 'inode' description in 'rpc_queue_upcall'
      Warning(net/sunrpc/rpc_pipe.c:839): No description found for parameter 'pipe'
      Warning(net/sunrpc/rpc_pipe.c:839): Excess function parameter 'ops' description in 'rpc_mkpipe_dentry'
      Warning(net/sunrpc/rpc_pipe.c:839): Excess function parameter 'flags' description in 'rpc_mkpipe_dentry'
      Warning(net/sunrpc/rpc_pipe.c:949): No description found for parameter 'dentry'
      Warning(net/sunrpc/rpc_pipe.c:949): Excess function parameter 'clnt' description in 'rpc_remove_client_dir'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      bda14606
  13. 28 3月, 2012 1 次提交
  14. 21 3月, 2012 1 次提交
    • T
      SUNRPC/LOCKD: Fix build warnings when CONFIG_SUNRPC_DEBUG is undefined · ffa94db6
      Trond Myklebust 提交于
      Stephen Rothwell reports:
      net/sunrpc/rpcb_clnt.c: In function 'rpcb_enc_mapping':
      net/sunrpc/rpcb_clnt.c:820:19: warning: unused variable 'task' [-Wunused-variable]
      net/sunrpc/rpcb_clnt.c: In function 'rpcb_dec_getport':
      net/sunrpc/rpcb_clnt.c:837:19: warning: unused variable 'task' [-Wunused-variable]
      net/sunrpc/rpcb_clnt.c: In function 'rpcb_dec_set':
      net/sunrpc/rpcb_clnt.c:860:19: warning: unused variable 'task' [-Wunused-variable]
      net/sunrpc/rpcb_clnt.c: In function 'rpcb_enc_getaddr':
      net/sunrpc/rpcb_clnt.c:892:19: warning: unused variable 'task' [-Wunused-variable]
      net/sunrpc/rpcb_clnt.c: In function 'rpcb_dec_getaddr':
      net/sunrpc/rpcb_clnt.c:914:19: warning: unused variable 'task' [-Wunused-variable]
      fs/lockd/svclock.c:49:20: warning: 'nlmdbg_cookie2a' declared 'static' but never defined [-Wunused-function]
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      ffa94db6
  15. 03 3月, 2012 2 次提交
  16. 01 2月, 2012 10 次提交
  17. 25 10月, 2011 5 次提交
  18. 19 10月, 2011 1 次提交
  19. 13 7月, 2011 1 次提交
  20. 28 5月, 2011 1 次提交
    • C
      SUNRPC: Use AF_LOCAL for rpcbind upcalls · 7402ab19
      Chuck Lever 提交于
      As libtirpc does in user space, have our registration API try using an
      AF_LOCAL transport first when registering and unregistering.
      
      This means we don't chew up privileged ports, and our registration is
      bound to an "owner" (the effective uid of the process on the sending
      end of the transport).  Only that "owner" may unregister the service.
      
      The kernel could probe rpcbind via an rpcbind query to determine
      whether rpcbind has an AF_LOCAL service. For simplicity, we use the
      same technique that libtirpc uses: simply fail over to network
      loopback if creating an AF_LOCAL transport to the well-known rpcbind
      service socket fails.
      
      This means we open-code the pathname of the rpcbind socket in the
      kernel.  For now we have to do that anyway because the kernel's
      RPC over AF_LOCAL implementation does not support autobind.  That may
      be undesirable in the long term.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      7402ab19
  21. 17 12月, 2010 4 次提交