Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: c12b395 ("gre: Support GRE over IPv6") Reported-by: Matthieu Ternisien d'Ouville <[email protected]> Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information