diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-10 15:20:07 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 07:24:28 +0200 |
commit | 029720f15dcd3c6c16824177cfc486083b229411 (patch) | |
tree | b90f272247be09461fa9c0384b3b3329d1e6ed45 /drivers/block/aoe/aoenet.c | |
parent | [QETH]: Use eth_hdr() (diff) | |
download | linux-029720f15dcd3c6c16824177cfc486083b229411.tar.xz linux-029720f15dcd3c6c16824177cfc486083b229411.zip |
[AOE]: Introduce aoe_hdr()
For consistency with other skb->mac.raw users.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/aoe/aoenet.c')
-rw-r--r-- | drivers/block/aoe/aoenet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index aab6d91a2c22..f9ddfda4d9cb 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c @@ -123,7 +123,7 @@ aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, goto exit; skb_push(skb, ETH_HLEN); /* (1) */ - h = (struct aoe_hdr *) skb->mac.raw; + h = aoe_hdr(skb); n = be32_to_cpu(get_unaligned(&h->tag)); if ((h->verfl & AOEFL_RSP) == 0 || (n & 1<<31)) goto exit; |