]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9467c5e6650aa86ad254afbf7451b6e353f383bf
treef48f3f0e06688ce66ddc7ef7fb4823db499fec69
parenta70b466eb7d67392494c855468c2503419ad3351
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