Commit 9872e8c6 authored by Paolo Abeni's avatar Paolo Abeni Committed by Greg Kroah-Hartman
Browse files

mptcp: avoid unneeded address copy



[ Upstream commit 2bb9a37f ]

In the syn_recv fallback path, the msk is unused. We can skip
setting the socket address.

Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Reviewed-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 7e8b88ec ("mptcp: consolidate passive msk socket initialization")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1b9e3ab6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment