[PATCH] sunrpc: don't xprt_complete_rqst on truncated tcp replies
Trond Myklebust
trond.myklebust at fys.uio.no
Wed Nov 28 14:08:00 EST 2007
On Wed, 2007-11-28 at 14:04 -0500, Chuck Lever wrote:
> Hi Benny-
>
> On Nov 28, 2007, at 1:27 PM, Benny Halevy wrote:
> > processing a truncated reply can cause havoc and it is
> > probably better to drop it instead.
>
> Actually, wouldn't a truncated reply be a sign that the server or
> client RPC stream has become out of sync? Perhaps it would be better
> to drop the connection in this case?
Again no. It could just be a sign of the allocator failing in
xdr_partial_copy_from_skb() for an nfsacl request.
Trond
More information about the NFSv4
mailing list