udp6: Fix udp fragmentation for tunnel traffic.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 30 May 2013 06:45:27 +0000 (06:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:06:07 +0000 (17:06 -0700)
commit1e2bd517c108816220f262d7954b697af03b5f9c
tree28fd8bea22513b7fcf8caa1a644f075f13ec5f48
parentb190a50875b95e58ebe2b00ed3bf7f1d44961471
udp6: Fix udp fragmentation for tunnel traffic.

udp6 over GRE tunnel does not work after to GRE tso changes. GRE
tso handler passes inner packet but keeps track of outer header
start in SKB_GSO_CB(skb)->mac_offset.  udp6 fragment need to
take care of outer header, which start at the mac_offset, while
adding fragment header.
This bug is introduced by commit 68c3316311 (GRE: Add TCP
segmentation offload for GRE).

Reported-by: Dmitry Kravkov <dkravkov@gmail.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Tested-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/ipv6/udp_offload.c