svc: Add a max payload value to the transport
[powerpc.git] / include / linux / icmpv6.h
index 0b5ba5e..7c5e981 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