Commit 9865479b authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Jiri Slaby
Browse files

ip6_gre: fix flowi6_proto value in xmit path



[ Upstream commit 3be07244 ]

In xmit path, we build a flowi6 which will be used for the output route lookup.
We are sending a GRE packet, neither IPv4 nor IPv6 encapsulated packet, thus the
protocol should be IPPROTO_GRE.

Fixes: c12b395a ("gre: Support GRE over IPv6")
Reported-by: default avatarMatthieu Ternisien d'Ouville <matthieu.tdo@6wind.com>
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 4d7fe752
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment