summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-08-31 17:00:02 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-09-30 22:35:14 +0300
commit4cd34e7c2e412e3db2f6bf7371581ab60591174b (patch)
tree0cee0ff3eb28a529dc419aa02400defd3a74ab6f /include/linux/sunrpc
parent6c7a64e5a44dbc6d073b83a56a48d0a4099f1dd2 (diff)
downloadlinux-4cd34e7c2e412e3db2f6bf7371581ab60591174b.tar.xz
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/sunrpc')
0 files changed, 0 insertions, 0 deletions