]> git.baikalelectronics.ru Git - kernel.git/commit
vlan/macvlan: propagate transmission state to upper layers
authorPatrick McHardy <kaber@trash.net>
Tue, 10 Nov 2009 06:14:24 +0000 (06:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Nov 2009 22:07:33 +0000 (14:07 -0800)
commitd4417c75f9be7470630c7c3a3e7bc4e8e34dd590
tree04063bfe9498e622623ed3e46155bcbd9b18c9c0
parentc11ac67affe8355716558d74747e7383e9cff75c
vlan/macvlan: propagate transmission state to upper layers

Both vlan and macvlan devices usually don't use a qdisc and immediately
queue packets to the underlying device. Propagate transmission state of
the underlying device to the upper layers so they can react on congestion
and/or inform the sending process.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
net/8021q/vlan_dev.c