J. Bruce Fields 954032d252 nfsd: fix auth_domain reference leak on nlm operations
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: J. Bruce Fields <bfields@redhat.com>
2011-03-24 23:11:27 -04:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2011-03-07 12:05:09 -05:00
2010-10-27 21:39:39 +02:00
2007-05-09 12:30:54 -07:00
2011-03-07 12:05:09 -05:00
2011-03-17 13:09:19 -04:00
2011-03-14 20:57:44 -04:00
2009-12-20 20:19:51 -08:00
2011-01-04 16:49:22 -05:00
2010-07-30 12:54:54 -04:00