mptcp: avoid unneeded address copy
authorPaolo Abeni <pabeni@redhat.com>
Mon, 27 Mar 2023 10:22:21 +0000 (12:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2023 08:01:28 +0000 (09:01 +0100)
commit2bb9a37f0e194ed95c70603b0efc7898a5a0d9b4
tree939f020e7348c2039829a72edf7a01ce9d3d1b47
parent9380d89104ead5d03a0977ce0b9226a6e94a8911
mptcp: avoid unneeded address copy

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

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/subflow.c