]> git.ipfire.org Git - thirdparty/linux.git/commit
mptcp: drop flags and ifindex arguments
authorGeliang Tang <geliangtang@xiaomi.com>
Tue, 17 Aug 2021 22:07:22 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2021 09:10:01 +0000 (10:10 +0100)
commitee285257a9c1bc73ad095d8a3aa5d04b7da4990f
tree787dc8c56e5d2b80cca3a88fa69be1ac9b3b8678
parent3349d3625d62e4c0d90e854a5b7e8efda8a5c994
mptcp: drop flags and ifindex arguments

This patch added a new helper mptcp_pm_get_flags_and_ifindex_by_id(),
and used it in __mptcp_subflow_connect() to get the flags and ifindex
values.

Then the two arguments flags and ifindex of __mptcp_subflow_connect()
can be dropped.

Signed-off-by: Geliang Tang <geliangtang@xiaomi.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
net/mptcp/protocol.h
net/mptcp/subflow.c