diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-02-14 15:03:35 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-04-07 14:36:40 -0400 |
commit | cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa (patch) | |
tree | d75c2fe1f4e0be7756b0277e9c707b5dc03c9912 /sound | |
parent | 48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84 (diff) | |
download | op-kernel-dev-cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa.zip op-kernel-dev-cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa.tar.gz |
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 'sound')
0 files changed, 0 insertions, 0 deletions