[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210129215544.2956c118@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 29 Jan 2021 21:55:44 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Mat Martineau <mathew.j.martineau@...ux.intel.com>
Cc: netdev@...r.kernel.org, Geliang Tang <geliangtang@...il.com>,
davem@...emloft.net, mptcp@...ts.01.org
Subject: Re: [PATCH net-next 01/16] mptcp: use WRITE_ONCE/READ_ONCE for the
pernet *_max
On Thu, 28 Jan 2021 17:11:00 -0800 Mat Martineau wrote:
> spin_lock_bh(&pernet->lock);
> - rcv_addrs = pernet->add_addr_accept_max;
> + rcv_addrs = READ_ONCE(pernet->add_addr_accept_max);
Oh, this reader is also under the lock, what's the concurrency issue
you speak of?
Powered by blists - more mailing lists