]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: iptable_raw: ignore short packets sent by SOCK_RAW sockets
authorPatrick McHardy <kaber@trash.net>
Thu, 10 May 2007 21:17:36 +0000 (14:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:47:59 +0000 (23:47 -0700)
commit75cbaf5f1c9974487167e9057439c7226c0630fb
treeec2f1f9906463da2c00d351b2bfb6814a57246c2
parent357216ee26cc933fd0cb1ea93ffbd56af586fdd0
[NETFILTER]: iptable_raw: ignore short packets sent by SOCK_RAW sockets

iptables matches and targets expect packets to have at least a full
IP header and a valid header length. Ignore packets sent through
raw sockets for which this isn't true as in the other tables.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/iptable_raw.c