J. Bruce Fields cf3aa02cb4 svcrpc: fix handling of too-short rpc's
If we detect that an rpc is too short, we abort and close the
connection.  Except, there's a bug here: we're leaving sk_datalen
nonzero without leaving any pages in the sk_pages array.  The most
likely result of the inconsistency is a subsequent crash in
svc_tcp_clear_pages.

Also demote the BUG_ON in svc_tcp_clear_pages to a WARN.

Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2013-07-01 17:32:04 -04:00
..
2012-11-04 14:43:41 -05:00
2013-05-09 10:24:54 -07:00
2013-03-12 18:55:21 -07:00
2013-04-09 14:13:32 -04:00
2013-02-17 10:53:51 -05:00
2012-04-15 12:44:40 -04:00
2013-04-26 11:41:26 -04:00