Skip to content
Commit e1e80e7f authored by Paolo Abeni's avatar Paolo Abeni Committed by Greg Kroah-Hartman
Browse files

inet: factor out locked section of inet_accept() in a new helper

[ Upstream commit 711bdd51

 ]

No functional changes intended. The new helper will be used
by the MPTCP protocol in the next patch to avoid duplicating
a few LoC.

Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Reviewed-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarMat Martineau <martineau@kernel.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 26afda78

 ("net: relax socket state check at accept time.")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 335c8f15
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment