diff options
Diffstat (limited to 'include/linux/icmp.h')
-rw-r--r-- | include/linux/icmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/icmp.h b/include/linux/icmp.h index cd3017a15789..474f2a51cf0a 100644 --- a/include/linux/icmp.h +++ b/include/linux/icmp.h | |||
@@ -87,7 +87,7 @@ struct icmphdr { | |||
87 | 87 | ||
88 | static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) | 88 | static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) |
89 | { | 89 | { |
90 | return (struct icmphdr *)skb->h.raw; | 90 | return (struct icmphdr *)skb_transport_header(skb); |
91 | } | 91 | } |
92 | #endif | 92 | #endif |
93 | 93 | ||