diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-10 20:18:39 +0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-11 23:01:20 +0400 |
commit | 2ea24497a1b30dd03dd42b873fa5097913587f4d (patch) | |
tree | 1e1b3d1c95e712dcce68be4d011620b46a6271c7 /include/asm-generic | |
parent | 628356791b04ea988fee070f66a748a823d001bb (diff) | |
download | linux-2ea24497a1b30dd03dd42b873fa5097913587f4d.tar.xz |
SUNRPC: RPC callbacks may be split across several TCP segments
Since TCP is a stream protocol, our callback read code needs to take into
account the fact that RPC callbacks are not always confined to a single
TCP segment.
This patch adds support for multiple TCP segments by ensuring that we
only remove the rpc_rqst structure from the 'free backchannel requests'
list once the data has been completely received. We rely on the fact
that TCP data is ordered for the duration of the connection.
Reported-by: shaobingqing <shaobingqing@bwstor.com.cn>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions