1. 25 Mar, 2011 1 commit
    • J. Bruce Fields's avatar
      nfsd: fix auth_domain reference leak on nlm operations · 954032d2
      J. Bruce Fields authored
      This was noticed by users who performed more than 2^32 lock operations
      and hence made this counter overflow (eventually leading to
      use-after-free's).  Setting rq_client to NULL here means that it won't
      later get auth_domain_put() when it should be.
      
      Appears to have been introduced in 2.5.42 by "[PATCH] kNFSd: Move auth
      domain lookup into svcauth" which moved most of the rq_client handling
      to common svcauth code, but left behind this one line.
      
      Cc: Neil Brown <neilb@suse.de>
      Cc: stable@kernel.org
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      954032d2
  2. 17 Mar, 2011 4 commits
  3. 16 Mar, 2011 1 commit
  4. 15 Mar, 2011 1 commit
  5. 10 Mar, 2011 1 commit
    • J. Bruce Fields's avatar
      svcrpc: fix bad argument in unix_domain_find · 352b5d13
      J. Bruce Fields authored
      "After merging the nfsd tree, today's linux-next build (powerpc
      ppc64_defconfig) produced this warning:
      
      net/sunrpc/svcauth_unix.c: In function 'unix_domain_find':
      net/sunrpc/svcauth_unix.c:58: warning: passing argument 1 of
      +'svcauth_unix_domain_release' from incompatible pointer type
      net/sunrpc/svcauth_unix.c:41: note: expected 'struct auth_domain *' but
      argument
      +is of type 'struct unix_domain *'
      
      Introduced by commit 8b3e07ac ("svcrpc: fix rare race on unix_domain
      creation")."
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      352b5d13
  6. 09 Mar, 2011 3 commits
  7. 08 Mar, 2011 1 commit
  8. 07 Mar, 2011 7 commits
  9. 01 Mar, 2011 12 commits
  10. 28 Feb, 2011 6 commits
  11. 26 Feb, 2011 3 commits