vlan: adds drops accounting
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 3 Sep 2009 00:39:16 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:02:17 +0000 (20:02 -0700)
commit1a123a3168566b10f87f228ae963770b26f27420
treecebf893e0ae4de5ee5077b69002f41d8f61d45f9
parent2c11455321f37da6fe6cc36353149f9ac9183334
vlan: adds drops accounting

Its hard to tell if vlans are dropping frames, since
every frame given to vlan_???_start_xmit() functions
is accounted as fully transmitted by lower device.

We can test dev_queue_xmit() return values to
properly account for dropped frames.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c