udpv4: Handle large incoming UDP/IPv4 packets and support software UFO.
authorSridhar Samudrala <sri@us.ibm.com>
Thu, 9 Jul 2009 08:09:47 +0000 (08:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Jul 2009 21:29:21 +0000 (14:29 -0700)
commitd7ca4cc01fd154f2da30ae6dae160fa5800af758
tree8e772bbb2320f4b109e20e9e588345bd1a51fb12
parent30ffee8480c13fbcf8ab6c28e31f79dfff683117
udpv4: Handle large incoming UDP/IPv4 packets and support software UFO.

- validate and forward GSO UDP/IPv4 packets from untrusted sources.
- do software UFO if the outgoing device doesn't support UFO.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h
net/ipv4/af_inet.c
net/ipv4/udp.c