[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=_ob1iM4yB3m3NoiPccSYd8koABQ@mail.gmail.com>
Date: Wed, 18 May 2011 13:58:14 +0200
From: Jacek Luczak <difrost.kernel@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Wei Yongjun <yjwei@...fujitsu.com>, netdev@...r.kernel.org,
Vlad Yasevich <vladislav.yasevich@...com>
Subject: Re: [PATCH] SCTP: fix race between sctp_bind_addr_free() and sctp_bind_addr_conflict()
2011/5/18 Eric Dumazet <eric.dumazet@...il.com>:
> Le mercredi 18 mai 2011 à 13:01 +0200, Jacek Luczak a écrit :
>
>> @Eric, if you will take a look into the code you might notice
>> that there are few places where list operations could be
>> optimised and the main question here is do we really care
>> to have the data ,,safe'' so that things like that won't popup.
>> The good example can be the set of _local_ functions.
There should be a vertical space here ...
>> Ahhh... and I'm aware of how tricky can be abuse of RCU.
>
> I took a quick look at existing rcu_read_lock() uses in sctp and did not
> find other problems [or optimizations if you prefer this point of view].
> Please elaborate.
... so that the last line does not have any connection with what I've
wrote above.
I get your point Eric so you don't really have to prove it - if you still need.
-jacek
--
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