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>
Showing
- include/linux/skbuff.h 14 additions, 0 deletionsinclude/linux/skbuff.h
- net/bridge/br_forward.c 1 addition, 1 deletionnet/bridge/br_forward.c
- net/core/skbuff.c 8 additions, 0 deletionsnet/core/skbuff.c
- net/ipv4/ip_forward.c 3 additions, 0 deletionsnet/ipv4/ip_forward.c
- net/ipv6/ip6_output.c 3 additions, 0 deletionsnet/ipv6/ip6_output.c
Loading
Please register or sign in to comment