]> err.no Git - linux-2.6/commit
net: Discard and warn about LRO'd skbs received for forwarding
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 19 Jun 2008 23:22:28 +0000 (16:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2008 23:22:28 +0000 (16:22 -0700)
commit4497b0763cb1afae463f5e144c28b5d806e28b60
tree3e86c53b5eb461eac7523885e43f36033cc03968
parent0187bdfb05674147774ca79a79942537f3ad54bd
net: Discard and warn about LRO'd skbs received for forwarding

Add skb_warn_if_lro() to test whether an skb was received with LRO and
warn if so.

Change br_forward(), ip_forward() and ip6_forward() to call it) and
discard the skb if it returns true.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/bridge/br_forward.c
net/core/skbuff.c
net/ipv4/ip_forward.c
net/ipv6/ip6_output.c