• Neil Brown's avatar
    [PATCH] kNFSd: TCP nfsd connection hangs when partial record header is received · b07e2e98
    Neil Brown authored
    Below patch resolves a hang where a TCP nfsd connection will hang even
    though new data is received on the socket. We've seen this a few times in
    our lab, but it usually happened every few weeks.
    
    If a short record header is received, the SK_BUSY flag is never cleared,
    and even though new data arrives, it will not be handled. This in turn
    leads to hangs of particular clients (while others will continue to work
    without problem).
    
    I also changed the return code for that condition to be the same as for a
    (regular) short read.
    b07e2e98
svcsock.c 37.9 KB