]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/icmpv6.h
leds: add possibility to remove leds classdevs during suspend/resume
[mv-sheeva.git] / include / linux / icmpv6.h
index 0b5ba5eb7ed2175c83a3a86e855b3790de593f30..7c5e9817e998aaf0f8ec23de91ab0d39b1d237f5 100644 (file)
@@ -80,7 +80,7 @@ struct icmp6hdr {
 
 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb)
 {
-       return (struct icmp6hdr *)skb->h.raw;
+       return (struct icmp6hdr *)skb_transport_header(skb);
 }
 #endif