[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180921.074524.348596771582256001.davem@davemloft.net>
Date: Fri, 21 Sep 2018 07:45:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
marcelo.leitner@...il.com, nhorman@...driver.com
Subject: Re: [PATCH net] sctp: update dst pmtu with the correct daddr
From: Xin Long <lucien.xin@...il.com>
Date: Fri, 21 Sep 2018 15:55:34 +0800
> It's under the protection of the sock lock, I think any other places
> that want to access the address also need to acquire this sock lock
> first.
Hash table lookups don't even have a socket context yet, so can't hold
the sock lock, but look at the address for comparisons.
Anything visible in a table lookup has to have stable keying
information.
Powered by blists - more mailing lists