svcrpc: complete svsk processing on cb receive failure
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 9 Apr 2011 14:03:10 +0000 (10:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 10 Apr 2011 14:47:46 +0000 (10:47 -0400)
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>

No differences found