]> err.no Git - linux-2.6/commit
[NET]: Verify gso_type too in gso_segment
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Jul 2006 02:38:35 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2006 02:38:35 +0000 (19:38 -0700)
commitbbcf467dab42ea3c85f368df346c82af2fbba665
treee9fe30c1be9c6a3773454bad3eefaabf4f5bee48
parent6ce1669fdb6b0a0faf9b2e2ba08048b520c57841
[NET]: Verify gso_type too in gso_segment

We don't want nasty Xen guests to pass a TCPv6 packet in with gso_type set
to TCPv4 or even UDP (or a packet that's both TCP and UDP).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv6/ipv6_sockglue.c