Thread (20 messages) 20 messages, 5 authors, 2021-12-07

Re: [PATCH net-next 03/10] mptcp: add SIOCINQ, OUTQ and OUTQNSD ioctls

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-12-07 01:16:54
Also in: mptcp

On Fri,  3 Dec 2021 14:35:34 -0800 Mat Martineau wrote:
quoted hunk ↗ jump to hunk
+		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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help