[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140127.131332.1595843198683370255.davem@davemloft.net>
Date: Mon, 27 Jan 2014 13:13:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vfalico@...hat.com
Cc: netdev@...r.kernel.org, fubar@...ibm.com, andy@...yhouse.net
Subject: Re: [PATCH v3 net-next 0/2] bonding: fix locking in
bond_ab_arp_prob
From: Veaceslav Falico <vfalico@...hat.com>
Date: Mon, 27 Jan 2014 14:37:30 +0100
> After the latest patches, on every call of bond_ab_arp_probe() without an
> active slave I see the following warning:
...
> It happens because in bond_ab_arp_probe() we change the flags of a slave
> without holding the RTNL lock.
>
> To fix this - remove the useless curr_active_lock, RCUify it and lock RTNL
> while changing the slave's flags. Also, remove bond_ab_arp_probe() from
> under any locks in bond_ab_arp_mon().
>
> CC: Jay Vosburgh <fubar@...ibm.com>
> CC: Andy Gospodarek <andy@...yhouse.net>
> CC: netdev@...r.kernel.org
> Signed-off-by: Veaceslav Falico <vfalico@...hat.com>
Series applied, thanks Vaeceslav.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists