From: J. Bruce Fields Date: Wed, 26 Jun 2013 14:55:40 +0000 (-0400) Subject: svcrpc: don't error out on small tcp fragment X-Git-Tag: v3.11-rc1~32^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f691b07c5dc51b2055834f58c0f351defd97f27;p=pandora-kernel.git svcrpc: don't error out on small tcp fragment Though clients we care about mostly don't do this, it is possible for rpc requests to be sent in multiple fragments. Here we have a sanity check to ensure that the final received rpc isn't too small--except that the number we're actually checking is the length of just the final fragment, not of the whole rpc. So a perfectly legal rpc that's unluckily fragmented could cause the server to close the connection here. Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed