]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/block/aoe/aoe.h
[SK_BUFF]: Introduce skb_mac_header()
[net-next-2.6.git] / drivers / block / aoe / aoe.h
index 4c34f8d31cc952f1833a2a276a10095fe52b42ea..1d84668179432b3a385723f31648722214d61f09 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