[ovs-dev] [PATCH] bond: Bonds never sleep if carrier changes.

Ben Pfaff blp at nicira.com
Tue May 17 20:52:53 UTC 2011


On Tue, May 17, 2011 at 01:50:56PM -0700, Ethan Jackson wrote:
> 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.

Looks good.

It would also be OK to implement a "netdev_monitor_flush()" function
to discard notifications.



More information about the dev mailing list