summaryrefslogtreecommitdiff
path: root/include/net/gre.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/gre.h')
-rw-r--r--include/net/gre.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/gre.h b/include/net/gre.h
index 7a54a31d1..73ea256eb 100644
--- a/include/net/gre.h
+++ b/include/net/gre.h
@@ -104,6 +104,7 @@ static inline void gre_build_header(struct sk_buff *skb, int hdr_len,
skb_push(skb, hdr_len);
+ skb_set_inner_protocol(skb, proto);
skb_reset_transport_header(skb);
greh = (struct gre_base_hdr *)skb->data;
greh->flags = gre_tnl_flags_to_gre_flags(flags);