]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: Prevent SYN+SYNACK+RST storms
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 30 Aug 2015 02:11:21 +0000 (19:11 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 30 Aug 2015 02:11:21 +0000 (19:11 -0700)
commit099392048cd443349c50310f7fdc96070e40f4e7
tree8c42b52313b92e363bb94fd16a7e11a85873714e
parent0c78789e3a030615c6650fde89546cadf40ec2cc
SUNRPC: Prevent SYN+SYNACK+RST storms

Add a shutdown() call before we release the socket in order to ensure the
reset is sent before we try to reconnect.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c