]> git.baikalelectronics.ru Git - kernel.git/commit
packet: make packet too small warning match condition
authorWillem de Bruijn <willemb@google.com>
Thu, 8 Jan 2015 16:29:18 +0000 (11:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:00:55 +0000 (16:00 -0500)
commit080191b6d2095ecdb1b30e705ef5978f70a94824
tree39cfbc5fbcbfe17dc444d6c93186192fc9ae6ada
parentc1382bac18d3797bbb0dc8e8cede355673e34077
packet: make packet too small warning match condition

The expression in ll_header_truncated() tests less than or equal, but
the warning prints less than. Update the warning.

Reported-by: Jouni Malinen <jkmalinen@gmail.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c