summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-06-20 01:22:28 +0200
committerDavid S. Miller <davem@davemloft.net>2008-06-20 01:22:28 +0200
commit4497b0763cb1afae463f5e144c28b5d806e28b60 (patch)
tree3e86c53b5eb461eac7523885e43f36033cc03968 /drivers/net/bnx2.h
parentnet: Disable LRO on devices that are forwarding (diff)
downloadlinux-4497b0763cb1afae463f5e144c28b5d806e28b60.tar.xz
linux-4497b0763cb1afae463f5e144c28b5d806e28b60.zip
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>
Diffstat (limited to 'drivers/net/bnx2.h')
0 files changed, 0 insertions, 0 deletions