Skip to content

Commit 4b4a0c9

Browse files
tomratbertdavem330
authored andcommitted
ip6: Don't set transport header in IPv6 tunneling
We only need to reset network header here. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d27bff9 commit 4b4a0c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/ipv6/ip6_tunnel.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,6 @@ int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield,
11141114
dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr);
11151115
skb_dst_set(skb, dst);
11161116

1117-
skb->transport_header = skb->network_header;
1118-
11191117
if (encap_limit >= 0) {
11201118
init_tel_txopt(&opt, encap_limit);
11211119
ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL);

0 commit comments

Comments
 (0)