Skip to content
Commit 4cd34e7c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Simplify dealing with aborted partially transmitted messages



If the previous message was only partially transmitted, we need to close
the socket in order to avoid corruption of the message stream. To do so,
we currently hijack the unlocking of the socket in order to schedule
the close.
Now that we track the message offset in the socket state, we can move
that kind of checking out of the socket lock code, which is needed to
allow messages to remain queued after dropping the socket lock.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 6c7a64e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment