]> git.baikalelectronics.ru Git - kernel.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)
commitfcc70cc98474a43a8583d10a6816620f9a46c83e
tree787dc8c56e5d2b80cca3a88fa69be1ac9b3b8678
parent0702c94acd9109fd79329008fb2f9879f6374330
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