SUNRPC: Never reuse the socket port after an xs_close()
commit0db49efd46f6ad1db8ff26ccc4e4e2b6085180e1
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 Mar 2011 22:40:10 +0000 (22 18:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Mar 2011 14:31:23 +0000 (28 07:31 -0700)
treeec768d89424ba98b36ce67a2ba454ecf115cf84d
parentb9806bf136fb416a48aaff18dc271de0e75bbcf0
SUNRPC: Never reuse the socket port after an xs_close()

commit 246408dcd5dfeef2df437ccb0ef4d6ee87805f58 upstream.

If we call xs_close(), we're in one of two situations:
 - Autoclose, which means we don't expect to resend a request
 - bind+connect failed, which probably means the port is in use

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/xprtsock.c