[Bridge] [PATCH 1/3] net: introduce a list of device addresses dev_addr_list

Patrick McHardy kaber at trash.net
Wed Apr 15 03:13:57 PDT 2009


David Miller wrote:
> From: Eric Dumazet <dada1 at cosmosbay.com>
> Date: Wed, 15 Apr 2009 11:27:50 +0200
> 
>> Since you obviously need a write lock here to be sure following
>> can be done by one cpu only.
>>
>> You have same problem all over this patch.
> 
> RTNL semaphore is held across all modification operations.

If this will also be used for multicast lists, changes can happen
(IPv6) without the RTNL.


More information about the Bridge mailing list