[ETH]: Make eth_type_trans set skb->dev like the other *_type_trans
One less thing for drivers writers to worry about. 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
029720f15d
commit
4c13eb6657
@@ -374,10 +374,6 @@ islpci_eth_receive(islpci_private *priv)
|
||||
DEBUG(SHOW_BUFFER_CONTENTS, "\nrx %p ", skb->data);
|
||||
display_buffer((char *) skb->data, skb->len);
|
||||
#endif
|
||||
|
||||
/* do some additional sk_buff and network layer parameters */
|
||||
skb->dev = ndev;
|
||||
|
||||
/* take care of monitor mode and spy monitoring. */
|
||||
if (unlikely(priv->iw_mode == IW_MODE_MONITOR))
|
||||
discard = islpci_monitor_rx(priv, &skb);
|
||||
|
Reference in New Issue
Block a user