• J. Bruce Fields's avatar
    svcrpc: complete svsk processing on cb receive failure · 8985ef0b
    J. Bruce Fields authored
    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: default avatarJ. Bruce Fields <bfields@redhat.com>
    8985ef0b
svcsock.c 42.6 KB