]> git.baikalelectronics.ru Git - kernel.git/commit
gro: Fix bogus gso_size on the first fraglist entry
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 May 2010 06:07:56 +0000 (23:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2010 06:07:56 +0000 (23:07 -0700)
commit6b6ef90c0596957e353373bb922ef4fd54efa71e
tree3a49a20733179d9475ffb220a29781e22eeb2cb6
parent2279c06abdca9c6d5964fa9c540ff5995fc382f6
gro: Fix bogus gso_size on the first fraglist entry

When GRO produces fraglist entries, and the resulting skb hits
an interface that is incapable of TSO but capable of FRAGLIST,
we end up producing a bogus packet with gso_size non-zero.

This was reported in the field with older versions of KVM that
did not set the TSO bits on tuntap.

This patch fixes that.

Reported-by: Igor Zhang <yugzhang@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c