IB/cm: Add basic performance counters
[firefly-linux-kernel-4.4.55.git] / include / net / ipx.h
index c6b2ee610866bff73e779cc0e772e83dbd1b741c..4cc0b4eca948b471159b29f1f6f7459d8989bd17 100644 (file)
@@ -43,7 +43,7 @@ struct ipxhdr {
 
 static __inline__ struct ipxhdr *ipx_hdr(struct sk_buff *skb)
 {
-       return (struct ipxhdr *)skb->h.raw;
+       return (struct ipxhdr *)skb_transport_header(skb);
 }
 
 struct ipx_interface {