summaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2021-03-31 02:08:51 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-31 02:42:23 +0200
commit774c8a8dcb3cba72e37394dbc7803fe575e1292c (patch)
tree4aed532518932037c4f5793043e5f75e82cf0ea7 /lib/bitmap.c
parentnet: fix icmp_echo_enable_probe sysctl (diff)
downloadlinux-774c8a8dcb3cba72e37394dbc7803fe575e1292c.tar.xz
linux-774c8a8dcb3cba72e37394dbc7803fe575e1292c.zip
mptcp: remove all subflows involving id 0 address
There's only one subflow involving the non-zero id address, but there may be multi subflows involving the id 0 address. Here's an example: local_id=0, remote_id=0 local_id=1, remote_id=0 local_id=0, remote_id=1 If the removing address id is 0, all the subflows involving the id 0 address need to be removed. In mptcp_pm_nl_rm_addr_received/mptcp_pm_nl_rm_subflow_received, the "break" prevents the iteration to the next subflow, so this patch dropped them. Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions