diff options
Diffstat (limited to 'include/linux/icmpv6.h')
-rw-r--r-- | include/linux/icmpv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index 0b5ba5eb7ed2..7c5e9817e998 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h | |||
@@ -80,7 +80,7 @@ struct icmp6hdr { | |||
80 | 80 | ||
81 | static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) | 81 | static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) |
82 | { | 82 | { |
83 | return (struct icmp6hdr *)skb->h.raw; | 83 | return (struct icmp6hdr *)skb_transport_header(skb); |
84 | } | 84 | } |
85 | #endif | 85 | #endif |
86 | 86 | ||