]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_udp_tunnel: remove unused IPCB related codes
authorEli Cooper <elicooper@gmx.com>
Tue, 1 Nov 2016 15:45:13 +0000 (23:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2016 19:18:36 +0000 (15:18 -0400)
commit94168a7dbc895a73805e23f951006b95db18f4f0
treee05209ac39cc936f396b7f7e7df37fa95518ea6a
parent52de22b840cb2ad2368d74a918ae7ed0ab12f716
ip6_udp_tunnel: remove unused IPCB related codes

Some IPCB fields are currently set in udp_tunnel6_xmit_skb(), which are
never used before it reaches ip6tunnel_xmit(), and past that point the
control buffer is no longer interpreted as IPCB.

This clears these unused IPCB related codes. Currently there is no skb
scrubbing in ip6_udp_tunnel, otherwise IPCB(skb)->opt might need to be
cleared for IPv4 packets, as shown in e6eebf3aa5a
("tunnel: Clear IPCB(skb)->opt before dst_link_failure called").

Signed-off-by: Eli Cooper <elicooper@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_udp_tunnel.c