bond: Bonds never sleep if carrier changes.
authorEthan Jackson <ethan@nicira.com>
Tue, 17 May 2011 20:47:23 +0000 (13:47 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 17 May 2011 21:03:05 +0000 (14:03 -0700)
commitaa77020c361ffba011d7ec9603caa55aaa01cd1f
tree8d58f3b11b2e33046cae6dd5e281e9448f4973c8
parent43d92fed5ad77640398280239087db472d4eec36
bond: Bonds never sleep if carrier changes.

The bonding code neglected to call netdev_monitor_poll() on its
monitor during bond_run().  Thus carrier changes would be
permanently queued in the monitor, preventing it from ever allowing
poll_loop to sleep.
lib/bond.c
lib/netdev.c
lib/netdev.h