OSDN Git Service

mptcp: remove a list of addrs when flushing
authorGeliang Tang <geliangtang@gmail.com>
Sat, 13 Mar 2021 01:16:18 +0000 (17:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 01:47:45 +0000 (17:47 -0800)
commit0e4a3e68862b7844c87126628082ae97c066b9da
treefcd25c4c011365dda60bf6e6d6f9696c0478a1ff
parent06faa22710342bca5e9c249634199c650799fce6
mptcp: remove a list of addrs when flushing

This patch invoked mptcp_nl_remove_addrs_list to remove a list of addresses
when the netlink flushes addresses, instead of using
mptcp_nl_remove_subflow_and_signal_addr to remove them one by one.

And dropped the unused parameter net in __flush_addrs too.

Signed-off-by: Geliang Tang <geliangtang@gmail.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