[TR]: Use tr_hdr() were appropriate
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7c81fd8bfb
commit
c1a4b86e39
@@ -2308,7 +2308,7 @@ qeth_rebuild_skb_fake_ll_tr(struct qeth_card *card, struct sk_buff *skb,
|
||||
QETH_DBF_TEXT(trace,5,"skbfktr");
|
||||
skb->mac.raw = skb->data - QETH_FAKE_LL_LEN_TR;
|
||||
/* this is a fake ethernet header */
|
||||
fake_hdr = (struct trh_hdr *) skb->mac.raw;
|
||||
fake_hdr = tr_hdr(skb);
|
||||
|
||||
/* the destination MAC address */
|
||||
switch (skb->pkt_type){
|
||||
|
Reference in New Issue
Block a user