From: Nicolas Dichtel Date: Thu, 2 Oct 2014 16:26:49 +0000 (+0200) Subject: ip6_gre: fix flowi6_proto value in xmit path X-Git-Tag: omap-for-v3.19/prcm-cleanup~141^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be07244b7337760a3269d56b2f4a63e72218648;p=pandora-kernel.git 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 Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed