]> git.baikalelectronics.ru Git - kernel.git/commit
net: Clean up explicit ->tx_queue references in link watch.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 06:01:06 +0000 (23:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 06:01:06 +0000 (23:01 -0700)
commit28ec22a9150e5f29921c0c0ea716e9c4d21d69fd
tree77e6964f84775d5f2ee152c249ee26aa326df4ac
parentbc0727d454d2570e07b06195401346a5ba7f2b82
net: Clean up explicit ->tx_queue references in link watch.

First, we add a qdisc_tx_changing() helper which returns true if the
qdisc attachment is in transition.

Second, we remove an assertion warning which is of limited value and
is hard to express precisely in a multiqueue environment.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/core/link_watch.c