summaryrefslogtreecommitdiff
path: root/include/linux/icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/icmp.h')
-rw-r--r--include/linux/icmp.h2
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 {
static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb)
{
- return (struct icmphdr *)skb->h.raw;
+ return (struct icmphdr *)skb_transport_header(skb);
}
#endif