diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-08-11 18:57:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-14 09:06:13 +0300 |
commit | 71a9a874cd6beb074896519f762741fbc448f5be (patch) | |
tree | 9b8154435074f24d2192f694b74772e6eb6b23de /lib/dhry_2.c | |
parent | 8cf2ebdc0078a841fd54fcd50574bae1ae910d94 (diff) | |
download | linux-71a9a874cd6beb074896519f762741fbc448f5be.tar.xz |
net: factor out __inet_listen_sk() helper
The mptcp protocol maintains an additional socket just to easily
invoke a few stream operations on the first subflow. One of them
is inet_listen().
Factor out an helper operating directly on the (locked) struct sock,
to allow get rid of the above dependency in the next patch without
duplicating the existing code.
No functional changes intended.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dhry_2.c')
0 files changed, 0 insertions, 0 deletions