diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-04-09 10:03:10 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-04-10 10:47:46 -0400 |
commit | 8985ef0b8af895c3b85a8c1b7108e0169fcbd20b (patch) | |
tree | 0e71ed0ca7c913b435a291cb975cd5f4f58809b8 /fs/nfsd | |
parent | d6c558379abc27241c75b8c30fc8c94b82537d5e (diff) | |
download | linux-8985ef0b8af895c3b85a8c1b7108e0169fcbd20b.tar.gz linux-8985ef0b8af895c3b85a8c1b7108e0169fcbd20b.tar.bz2 linux-8985ef0b8af895c3b85a8c1b7108e0169fcbd20b.zip |
svcrpc: complete svsk processing on cb receive failure
Currently when there's some failure to receive a callback (because we
couldn't find a matching xid, for example), we exit svc_recv with
sk_tcplen still set but without any pages saved with the socket. This
will cause a crash later in svc_tcp_restore_pages.
Instead, make sure we reset that tcp information whether the callback
received failed or succeeded.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions