summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-02-14 21:03:35 +0100
committerJ. Bruce Fields <bfields@redhat.com>2011-04-07 20:36:40 +0200
commitcc6c2127f2316c2b2ad1e8919b45cde5e03f65aa (patch)
treed75c2fe1f4e0be7756b0277e9c707b5dc03c9912 /net/sunrpc/clnt.c
parentsvcrpc: note network-order types in svc_process_calldir (diff)
downloadlinux-cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa.tar.xz
linux-cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa.zip
svcrpc: close connection if client sends short packet
If the client sents a record too short to contain even the beginning of the rpc header, then just close the connection. The current code drops the record data and continues. I don't see the point. It's a hopeless situation and simpler just to cut off the connection completely. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions