summaryrefslogtreecommitdiff
path: root/net/sunrpc/bc_svc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-02-14 20:03:35 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2011-04-07 18:36:40 (GMT)
commitcc6c2127f2316c2b2ad1e8919b45cde5e03f65aa (patch)
treed75c2fe1f4e0be7756b0277e9c707b5dc03c9912 /net/sunrpc/bc_svc.c
parent48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84 (diff)
downloadlinux-fsl-qoriq-cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa.tar.xz
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/bc_svc.c')
0 files changed, 0 insertions, 0 deletions