diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-04-20 00:52:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-21 19:39:10 +0200 |
commit | a9cf73ea7ff78f52662c8658d93c226effbbedde (patch) | |
tree | 07a723cb628f223e4f756f0cb02eeba8b6ee9c62 /arch | |
parent | can: add missing socket check in can/raw release (diff) | |
download | linux-a9cf73ea7ff78f52662c8658d93c226effbbedde.tar.xz linux-a9cf73ea7ff78f52662c8658d93c226effbbedde.zip |
ipv6: udp: fix the wrong headroom check
At this point, skb->data points to skb_transport_header.
So, headroom check is wrong.
For some case:bridge(UFO is on) + eth device(UFO is off),
there is no enough headroom for IPv6 frag head.
But headroom check is always false.
This will bring about data be moved to there prior to skb->head,
when adding IPv6 frag header to skb.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions