https://github.com/torvalds/linux
Revision ae782bb16c35ce27512beeda9be6024c88f85b08 authored by Isaku Yamahata on 24 December 2012, 16:51:04 UTC, committed by David S. Miller on 26 December 2012, 23:19:56 UTC
ip6gre_xmit2() incorrectly sets transport header to inner payload
instead of GRE header. It seems copy-and-pasted from ipip.c.
Set transport header to gre header.
(In ipip case the transport header is the inner ip header, so that's
correct.)

Found by inspection. In practice the incorrect transport header
doesn't matter because the skb usually is sent to another net_device
or socket, so the transport header isn't referenced.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 861aa6d
History
Tip revision: ae782bb16c35ce27512beeda9be6024c88f85b08 authored by Isaku Yamahata on 24 December 2012, 16:51:04 UTC
ipv6/ip6_gre: set transport header correctly
Tip revision: ae782bb

back to top