diff options
Diffstat (limited to 'include/linux/ip.h')
-rw-r--r-- | include/linux/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ip.h b/include/linux/ip.h index 19578440b5fc..bd0a2a8631c6 100644 --- a/include/linux/ip.h +++ b/include/linux/ip.h | |||
@@ -114,7 +114,7 @@ static inline struct iphdr *ip_hdr(const struct sk_buff *skb) | |||
114 | 114 | ||
115 | static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) | 115 | static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) |
116 | { | 116 | { |
117 | return (struct iphdr *)skb->h.raw; | 117 | return (struct iphdr *)skb_transport_header(skb); |
118 | } | 118 | } |
119 | #endif | 119 | #endif |
120 | 120 | ||