[NET]: Disable queueing when carrier is lost.
authorTommy S. Christensen <tommy.christensen@tpack.net>
Tue, 3 May 2005 23:18:52 +0000 (16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 23:18:52 +0000 (16:18 -0700)
commitcacaddf57ed4d5ca994e9a7e2bd5558061f5d89d
tree6e4c59a9a27441a3196cbc67a3a79356baa679fb
parent0f4821e7b93fe72e89b8ff393bd8e705bd178aa5
[NET]: Disable queueing when carrier is lost.

Some network drivers call netif_stop_queue() when detecting loss of
carrier. This leads to packets being queued up at the qdisc level for
an unbound period of time. In order to prevent this effect, the core
networking stack will now cease to queue packets for any device, that
is operationally down (i.e. the queue is flushed and disabled).

Signed-off-by: Tommy S. Christensen <tommy.christensen@tpack.net>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/link_watch.c
net/sched/sch_generic.c