mptcp: reduce the arguments of mptcp_sendmsg_frag
authorPaolo Abeni <pabeni@redhat.com>
Mon, 16 Nov 2020 09:48:06 +0000 (10:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Nov 2020 18:46:06 +0000 (10:46 -0800)
commitcaf971df01b86f33f151bcfa61b4385cf5e43822
tree8291ec483b0d6c9c3e63be30e6daebaffd62b957
parentba8f48f7a4d79352b764ace585b5f602ef940be0
mptcp: reduce the arguments of mptcp_sendmsg_frag

The current argument list is pretty long and quite unreadable,
move many of them into a specific struct. Later patches
will add more stuff to such struct.

Additionally drop the 'timeo' argument, now unused.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c