summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields2013-06-26 16:55:40 +0200
committerJ. Bruce Fields2013-07-01 23:32:04 +0200
commit1f691b07c5dc51b2055834f58c0f351defd97f27 (patch)
tree2dcc564979512da4e0db2975eca9ad0b3c662b85 /fs
parentsvcrpc: fix handling of too-short rpc's (diff)
downloadkernel-qcow2-linux-1f691b07c5dc51b2055834f58c0f351defd97f27.tar.gz
kernel-qcow2-linux-1f691b07c5dc51b2055834f58c0f351defd97f27.tar.xz
kernel-qcow2-linux-1f691b07c5dc51b2055834f58c0f351defd97f27.zip
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 <bfields@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions