SUNRPC: Never reuse the socket port after an xs_close()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 Mar 2011 22:40:10 +0000 (18:40 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:11 +0000 (12:47 -0400)
commit5c524f81c44422657fd7c9a1d4e32c7bf2248a04
tree2e598531e5b0b24fdf97f900718896cb924bb669
parent6362caf82ffba0b81e26a292135dcaf1abf6f8c6
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: Paul Gortmaker <paul.gortmaker@windriver.com>
net/sunrpc/xprtsock.c