[PATCH] kNFSd: Make sure an early close on a nfs/tcp connection is handled properly.
From: Hirokazu Takahashi <taka@valinux.co.jp> In svc_tcp_listen_data_ready we should be waiting for TCP_LISTEN, not TCP_ESTABLISHED. The later only worked by accident. Also, if a socket is closed as soon as we accept it, we must shut it down straight away as we will never get a 'close' event.
Showing
Please register or sign in to comment