[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110323.124526.02255431.davem@davemloft.net>
Date: Wed, 23 Mar 2011 12:45:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nicolas.2p.debian@...il.com
Cc: jpirko@...hat.com, netdev@...r.kernel.org, andy@...yhouse.net,
fubar@...ibm.com
Subject: Re: [patch net-2.6] bonding: fix rx_handler locking
From: Nicolas de Pesloüan <nicolas.2p.debian@...il.com>
Date: Wed, 23 Mar 2011 20:25:37 +0100
> Le 22/03/2011 13:38, Jiri Pirko a écrit :
>> This prevents possible race between bond_enslave and bond_handle_frame
>> as reported by Nicolas by moving rx_handler register/unregister.
>> slave->bond is added to hold pointer to master bonding sructure. That
>> way dev->master is no longer used in bond_handler_frame.
>> Also, this removes "BUG: scheduling while atomic" message
>>
>> Reported-by: Nicolas de Pesloüan<nicolas.2p.debian@...il.com>
>> Signed-off-by: Jiri Pirko<jpirko@...hat.com>
>
> Thanks Jiri, it works.
>
> Tested-by: Nicolas de Pesloüan <nicolas.2p.debian@...e.fr>
Applied, thanks everyone.
--
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