[ovs-dev] [stable 3/3] bond: New bonding mode "stable".

Ben Pfaff blp at nicira.com
Thu Apr 14 18:11:33 UTC 2011


On Thu, Apr 14, 2011 at 11:05:39AM -0700, Ethan Jackson wrote:
> > What motivated this change?
> 
> Just defensive coding.  I noticed it when looking over the patch
> again.  If n_stb_slaves is 0, e.g. there are no enabled slaves.  It's
> better to choose something (e.g. the active slave) instead of trigger
> a divide by zero.

I hadn't noticed the division by zero.  Good spotting, thanks.



More information about the dev mailing list