On Fri, 27 Nov 2020, Paolo Abeni wrote:

Extending the data_lock scope in mptcp_incoming_option
we can use that to protect both snd_una and wnd_end.
In the typical case, we will have a single atomic op instead of 2

Acked-by: Florian Westphal <f...@strlen.de>
Signed-off-by: Paolo Abeni <pab...@redhat.com>
---
net/mptcp/mptcp_diag.c |  2 +-
net/mptcp/options.c    | 33 +++++++++++++--------------------
net/mptcp/protocol.c   | 34 ++++++++++++++++------------------
net/mptcp/protocol.h   |  8 ++++----
4 files changed, 34 insertions(+), 43 deletions(-)

Reviewed-by: Mat Martineau <mathew.j.martin...@linux.intel.com>

--
Mat Martineau
Intel

Reply via email to