[HIPPI/FDDI]: Make {hippi,fddi}_type_trans set skb->dev
Now all the _type_trans routines are consistent in this regard. 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
c8fb7948dc
commit
0a4f23fbbf
@@ -3096,8 +3096,6 @@ static void dfx_rcv_queue_process(
|
||||
|
||||
skb_reserve(skb,3); /* adjust data field so that it points to FC byte */
|
||||
skb_put(skb, pkt_len); /* pass up packet length, NOT including CRC */
|
||||
skb->dev = bp->dev; /* pass up device pointer */
|
||||
|
||||
skb->protocol = fddi_type_trans(skb, bp->dev);
|
||||
bp->rcv_total_bytes += skb->len;
|
||||
netif_rx(skb);
|
||||
|
Reference in New Issue
Block a user