]> git.baikalelectronics.ru Git - kernel.git/commit
Correctly close old nfsd/lockd sockets.
authorNeil Brown <neilb@suse.de>
Fri, 14 Sep 2007 14:28:08 +0000 (10:28 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 14 Sep 2007 20:58:11 +0000 (13:58 -0700)
commitadd68832f851b88d8d55b3c3e302d2f908e87bb2
treec8193e1c65a7b2ced3366a02668261a553150ff4
parent59899c5107714471e91d3384ee08f248d12dd701
Correctly close old nfsd/lockd sockets.

Commit 74cc458c5bf8b404d7b4a1365595cfe4e1809a0b added a bias
to sk_inuse, so this test for an unused socket now fails.  So no
sockets get closed because they are old (they might get closed
if the client closed them).

This bug has existed since 2.6.21-rc1.

Thanks to Wolfgang Walter for finding and reporting the bug.

Cc: Wolfgang Walter <wolfgang.walter@studentenwerk.mhn.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/svcsock.c