From: Trond Myklebust Date: Mon, 5 Nov 2007 20:44:12 +0000 (-0500) Subject: SUNRPC: Use shutdown() instead of close() when disconnecting a TCP socket X-Git-Tag: v2.6.25-rc1~1146^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06799f958bf7f9f8fae15f0c6f519953fb0257c;p=pandora-kernel.git SUNRPC: Use shutdown() instead of close() when disconnecting a TCP socket By using shutdown() rather than close() we allow the RPC client to wait for the TCP close handshake to complete before we start trying to reconnect using the same port. We use shutdown(SHUT_WR) only instead of shutting down both directions, however we wait until the server has closed the connection on its side. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed