[SK_BUFF]: Introduce skb_mac_header()
[powerpc.git] / drivers / block / aoe / aoe.h
index 4c34f8d..1d84668 100644 (file)
@@ -53,7 +53,7 @@ struct aoe_hdr {
 
 static inline struct aoe_hdr *aoe_hdr(const struct sk_buff *skb)
 {
-       return (struct aoe_hdr *)skb->mac.raw;
+       return (struct aoe_hdr *)skb_mac_header(skb);
 }
 #endif