[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
@ -1680,7 +1680,6 @@ void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
|
||||
rxd->rxd_os.skb = NULL;
|
||||
skb_trim(skb, len);
|
||||
skb->protocol = fddi_type_trans(skb, bp->dev);
|
||||
skb->dev = bp->dev; /* pass up device pointer */
|
||||
|
||||
netif_rx(skb);
|
||||
bp->dev->last_rx = jiffies;
|
||||
|
Reference in New Issue
Block a user