]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/aoe/aoenet.c
aoe: remove unecessary wrapper function
[karo-tx-linux.git] / drivers / block / aoe / aoenet.c
index 4dc0fb7da94b50dacbdb0084dc7f7f037f0db435..4e6deb7f5c24e2b5ff5e748ef65cef798ce3e861 100644 (file)
@@ -127,7 +127,7 @@ aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt,
                goto exit;
        skb_push(skb, ETH_HLEN);        /* (1) */
 
-       h = aoe_hdr(skb);
+       h = (struct aoe_hdr *) skb_mac_header(skb);
        n = be32_to_cpu(get_unaligned(&h->tag));
        if ((h->verfl & AOEFL_RSP) == 0 || (n & 1<<31))
                goto exit;