]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Correctly close old nfsd/lockd sockets.
authorNeil Brown <neilb@suse.de>
Fri, 14 Sep 2007 14:28:08 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:41 +0000 (10:54 -0700)
commit7eafb2d538dd87b658593b0e7b4429544f866abe
treed7270ac2b505447bd7fcab2ac617db6413e2d07b
parent7cd5471bea6f4e7f97e28ff71a30bb2c7656e1c2
Correctly close old nfsd/lockd sockets.

commit 7a1fa065a0264f6b3d3003ba5635289f6583c478 in mainline.

Commit aaf68cfbf2241d24d46583423f6bff5c47e088b3 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/svcsock.c