aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/ip6_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c
index f304471477dc..97299d76c1b0 100644
--- a/net/ipv6/ip6_gre.c
+++ b/net/ipv6/ip6_gre.c
@@ -782,7 +782,7 @@ static inline int ip6gre_xmit_ipv4(struct sk_buff *skb, struct net_device *dev)
782 encap_limit = t->parms.encap_limit; 782 encap_limit = t->parms.encap_limit;
783 783
784 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); 784 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6));
785 fl6.flowi6_proto = IPPROTO_IPIP; 785 fl6.flowi6_proto = IPPROTO_GRE;
786 786
787 dsfield = ipv4_get_dsfield(iph); 787 dsfield = ipv4_get_dsfield(iph);
788 788
@@ -832,7 +832,7 @@ static inline int ip6gre_xmit_ipv6(struct sk_buff *skb, struct net_device *dev)
832 encap_limit = t->parms.encap_limit; 832 encap_limit = t->parms.encap_limit;
833 833
834 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); 834 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6));
835 fl6.flowi6_proto = IPPROTO_IPV6; 835 fl6.flowi6_proto = IPPROTO_GRE;
836 836
837 dsfield = ipv6_get_dsfield(ipv6h); 837 dsfield = ipv6_get_dsfield(ipv6h);
838 if (t->parms.flags & IP6_TNL_F_USE_ORIG_TCLASS) 838 if (t->parms.flags & IP6_TNL_F_USE_ORIG_TCLASS)