]> git.baikalelectronics.ru Git - kernel.git/commit
gro: Fix handling of headers that extend over the tail
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 27 Apr 2009 12:44:29 +0000 (05:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 12:44:29 +0000 (05:44 -0700)
commitb23a15a39cd9e3828c6c7c5e5f2e72fcf127a51e
tree00e8ce4bbb0b517cea71ff14165b2b1d944d22f3
parent2ae3b0e97bf56c8377204696ac211d016f2fe113
gro: Fix handling of headers that extend over the tail

The skb_gro_* code fails to handle the case where a header starts
in the linear area but ends in the frags area.  Since the goal
of skb_gro_* is to optimise the case of completely non-linear
packets, we can simply bail out if we have anything in the linear
area.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c