diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/aoe/aoe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 4c34f8d31cc9..1d8466817943 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h | |||
@@ -53,7 +53,7 @@ struct aoe_hdr { | |||
53 | 53 | ||
54 | static inline struct aoe_hdr *aoe_hdr(const struct sk_buff *skb) | 54 | static inline struct aoe_hdr *aoe_hdr(const struct sk_buff *skb) |
55 | { | 55 | { |
56 | return (struct aoe_hdr *)skb->mac.raw; | 56 | return (struct aoe_hdr *)skb_mac_header(skb); |
57 | } | 57 | } |
58 | #endif | 58 | #endif |
59 | 59 | ||