net: congestion notifications are not dropped packets
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 10 May 2010 04:51:02 +0000 (04:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 May 2010 07:42:15 +0000 (00:42 -0700)
commit2d6c9ffcca7808f42ba6b953da0ba60e19a9cbbd
treec2406d2059ae2a554a26ee0d67c4aa45d02e2635
parenta465419b1febb603821f924805529cff89cafeed
net: congestion notifications are not dropped packets

vlan/macvlan start_xmit() can inform caller of congestion with
NET_XMIT_CN return value. This doesnt mean packet was dropped.
Increment normal stat counters instead of tx_dropped.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
net/8021q/vlan_dev.c