[QETH]: Use eth_hdr()
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0a4f23fbbf
commit
4839fccea0
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue