]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: make dev_trans_start return vlan's real dev trans_start
authornikolay@redhat.com <nikolay@redhat.com>
Sat, 3 Aug 2013 20:07:47 +0000 (22:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 19:17:42 +0000 (12:17 -0700)
commitbcae3d1a0a3e911b845798bbc044bf6e624d45bc
tree887799d2a1b5a698d1d0fbaabd1cf983badaa1fd
parent4a54ef024f859fc9ef33e1b5db3eedcbcb794ec2
net_sched: make dev_trans_start return vlan's real dev trans_start

Vlan devices are LLTX and don't update their own trans_start, so if
dev_trans_start has to be called with a vlan device then 0 or a stale
value will be returned. Currently the bonding is the only such user, and
it's needed for proper arp monitoring when the slaves are vlans.
Fix this by extracting the vlan's real device trans_start.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c