net: validate_xmit_skb() changes
authorEric Dumazet <edumazet@google.com>
Wed, 13 Apr 2016 04:50:07 +0000 (21:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 01:40:24 +0000 (21:40 -0400)
commitd21fd63ea3856208c3a1cb9b26d81898a2ccf71b
treef48f3f0e06688ce66ddc7ef7fb4823db499fec69
parentda37845fdce24e174f44d020bc4085ddd1c8a6bd
net: validate_xmit_skb() changes

skbs given to validate_xmit_skb() should not have a next
pointer anymore.

Also if a packet is dropped, increment dev->tx_dropped
__dev_queue_xmit() no longer has to change tx_dropped in this case.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c