[NET]: Add missing UFO initialisations
commit41dc00ec4d90588a7362075cfd0f0afae5d29ff4
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Nov 2006 06:47:29 +0000 (8 07:47 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 8 Nov 2006 06:47:29 +0000 (8 07:47 +0100)
tree3314571f33bade3748afdd8b03e98867e8c9ab7b
parent8bd3ff1d04183848b589c53e94e4467a83746c8f
[NET]: Add missing UFO initialisations

This bug was unknowingly fixed the GSO patches (or rather, its effect was
unknown at the time).

Thanks to Marco Berizzi's persistence which is documented in the thread
"ipsec tunnel asymmetrical mtu", we now know that it can have highly
non-obvious symptoms.

What happens is that uninitialised uso_size fields can cause packets to
be incorrectly identified as UFO, which means that it does not get
fragmented even if it's over the MTU.

The fix is simple enough.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/core/dev.c
net/core/skbuff.c