[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
@@ -434,7 +434,6 @@ static int mv643xx_eth_receive_queue(struct net_device *dev, int budget)
|
||||
* received packet
|
||||
*/
|
||||
skb_put(skb, pkt_info.byte_cnt - 4);
|
||||
skb->dev = dev;
|
||||
|
||||
if (pkt_info.cmd_sts & ETH_LAYER_4_CHECKSUM_OK) {
|
||||
skb->ip_summed = CHECKSUM_UNNECESSARY;
|
||||
|
||||
Reference in New Issue
Block a user