[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130219.005229.193592350299221718.davem@davemloft.net>
Date: Tue, 19 Feb 2013 00:52:29 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fubar@...ibm.com
Cc: nikolay@...hat.com, netdev@...r.kernel.org, andy@...yhouse.net
Subject: Re: [PATCH net 1/3] bonding: Fix race condition between
bond_enslave() and bond_3ad_update_lacp_rate()
From: Jay Vosburgh <fubar@...ibm.com>
Date: Mon, 18 Feb 2013 13:09:13 -0800
> Nikolay Aleksandrov <nikolay@...hat.com> wrote:
>
>>port->slave can be NULL since it's being initialized in bond_enslave
>>thus dereferencing a NULL pointer in bond_3ad_update_lacp_rate()
>>Also fix a minor bug, which could cause a port not to have
>>AD_STATE_LACP_TIMEOUT since there's no sync between
>>bond_3ad_update_lacp_rate() and bond_3ad_bind_slave(), by changing
>>the read_lock to a write_lock_bh in bond_3ad_update_lacp_rate().
>
> Signed-off-by: Jay Vosburgh <fubar@...ibm.com>
>
>>Signed-off-by: Nikolay Aleksandrov <nikolay@...hat.com>
Applied
--
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