[PATCH] PATCH 11/16: NFSD: TCP: close bad connections
authorNeil Brown <neilb@cse.unsw.edu.au>
Tue, 26 Feb 2002 06:23:37 +0000 (22:23 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 26 Feb 2002 06:23:37 +0000 (22:23 -0800)
commit84e9f22a623a88f653aa6f078925e410f3665474
tree94127835c90b1828532661dbe08e6649e04747a2
parent294d77d98b929017f6d8e3929c58ccfa189e44d7
[PATCH] PATCH 11/16: NFSD: TCP: close bad connections

Detect and close tcp connections that we cannot work with.

If an rpc fragment that arrives on a tcp connection
is non-terminal or too large for our buffer, then we
have to close the connection.
Also, if a write fails on a tcp connection, we close
the connection.
net/sunrpc/svcsock.c