diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2012-12-24 16:51:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-26 23:19:56 (GMT) |
commit | ae782bb16c35ce27512beeda9be6024c88f85b08 (patch) | |
tree | 10d52422a5e8b0cf7380cf5807eb7036855c3989 /drivers | |
parent | 861aa6d56de8147249c8a04a4e87fb7c3600cca1 (diff) | |
download | linux-ae782bb16c35ce27512beeda9be6024c88f85b08.tar.xz |
ipv6/ip6_gre: set transport header correctly
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions