]> err.no Git - linux-2.6/commitdiff
[QETH]: Use eth_hdr()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 10 Mar 2007 14:13:59 +0000 (11:13 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:27 +0000 (22:24 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_main.c

index f2b9b1b1ec108189712fdbe63095cdf006f7af91..d502b77adf6bd03bafe8d823fe331b01cce9add8 100644 (file)
@@ -2361,7 +2361,7 @@ qeth_rebuild_skb_fake_ll_eth(struct qeth_card *card, struct sk_buff *skb,
        QETH_DBF_TEXT(trace,5,"skbfketh");
        skb->mac.raw = skb->data - QETH_FAKE_LL_LEN_ETH;
        /* this is a fake ethernet header */
-       fake_hdr = (struct ethhdr *) skb->mac.raw;
+       fake_hdr = eth_hdr(skb);
 
        /* the destination MAC address */
        switch (skb->pkt_type){