[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211206171648.4608911f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 6 Dec 2021 17:16:48 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Mat Martineau <mathew.j.martineau@...ux.intel.com>
Cc: netdev@...r.kernel.org, Florian Westphal <fw@...len.de>,
davem@...emloft.net, matthieu.baerts@...sares.net,
mptcp@...ts.linux.dev
Subject: Re: [PATCH net-next 03/10] mptcp: add SIOCINQ, OUTQ and OUTQNSD
ioctls
On Fri, 3 Dec 2021 14:35:34 -0800 Mat Martineau wrote:
> + if (sk->sk_state == TCP_LISTEN)
> + return -EINVAL;
> +
> + lock_sock(sk);
> + __mptcp_move_skbs(msk);
> + answ = mptcp_inq_hint(sk);
> + release_sock(sk);
The raciness is not harmful here?
Powered by blists - more mailing lists