]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit322dfda7a2b076d0ef6b93db10775ab6bb9e4c80
treecebf893e0ae4de5ee5077b69002f41d8f61d45f9
parent5d8287cbf62c573b10e3a2e230f5735070da762c
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