From: Mahesh Bandewar <mah...@bandewar.net>
Date: Thu, 20 Apr 2017 12:49:24 -0700

> From: Mahesh Bandewar <mahe...@google.com>
> 
> Earlier patch 4493b81bea ("bonding: initialize work-queues during
> creation of bond") moved the work-queue initialization from bond_open()
> to bond_create(). However this caused the link those are created using
> netlink 'create bond option' (ip link add bondX type bond); create the
> new trunk without initializing work-queues. Prior to the above mentioned
> change, ndo_open was in both paths and things worked correctly. The
> consequence is visible in the report shared by Joe Stringer -
> 
> I've noticed that this patch breaks bonding within namespaces if
> you're not careful to perform device cleanup correctly.
> 
> Here's my repro script, you can run on any net-next with this patch
> and you'll start seeing some weird behaviour:
 ...
> Fixes: 4493b81bea ("bonding: initialize work-queues during creation of bond")
> Reported-by: Joe Stringer <j...@ovn.org>
> Tested-by: Joe Stringer <j...@ovn.org>
> Signed-off-by: Mahesh Bandewar <mahe...@google.com>

Applied, thanks.

Reply via email to