From: Trond Myklebust Date: Mon, 10 Feb 2014 16:18:39 +0000 (-0500) Subject: SUNRPC: RPC callbacks may be split across several TCP segments X-Git-Tag: v3.15-rc1~66^2~12^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ea24497a1b30dd03dd42b873fa5097913587f4d;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed