lkml.org 
[lkml]   [2009]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/3] net: introduce a list of device addresses dev_addr_list
    From
    From: Patrick McHardy <kaber@trash.net>
    Date: Wed, 15 Apr 2009 12:13:57 +0200

    > David Miller wrote:
    >> From: Eric Dumazet <dada1@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.

    Indeed, that is true :-/


    \
     
     \ /
      Last update: 2009-04-15 12:19    [W:0.022 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site