commit | 3be07244b7337760a3269d56b2f4a63e72218648 | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Thu Oct 02 18:26:49 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 04 20:08:24 2014 -0400 |
tree | f2335f0a3fd04aa23d5e137e2297e433d230fa3c | |
parent | ea6a7112d8525f7b5b6fdd59b255845ed6331beb [diff] |
ip6_gre: fix flowi6_proto value in xmit path 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: c12b395a4664 ("gre: Support GRE over IPv6") Reported-by: Matthieu Ternisien d'Ouville <matthieu.tdo@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>