]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Ensure we set XPRT_CLOSING only after we've sent a tcp FIN...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:58 +0000 (14:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:58 +0000 (14:37 -0400)
commit2075e361eb0b0a8b26024fe69c9650e15ad6df2e
tree3beaadb8ee2841972c0e719c67c64e1cc27bb7ea
parentd80caca8bea2fadc703806b3e74832fae653346c
SUNRPC: Ensure we set XPRT_CLOSING only after we've sent a tcp FIN...

...so that we can distinguish between when we need to shutdown and when we
don't. Also remove the call to xs_tcp_shutdown() from xs_tcp_connect(),
since xprt_connect() makes the same test.

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