diff options
author | Paolo Abeni <pabeni@redhat.com> | 2022-07-05 14:32:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-06 12:50:26 +0100 |
commit | 843b5e75efff04db34fcf9856de53c9e415530a2 (patch) | |
tree | fb291581d49b76b70665b4831bbcbe1313797746 /net/mptcp/pm_userspace.c | |
parent | ca188a25d43f85f9c6f1e0a303edad47c9d24989 (diff) |
mptcp: fix local endpoint accounting
In mptcp_pm_nl_rm_addr_or_subflow() we always mark as available
the id corresponding to the just removed address.
The used bitmap actually tracks only the local IDs: we must
restrict the operation when a (local) subflow is removed.
Fixes: a88c9e496937 ("mptcp: do not block subflows creation on errors")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/pm_userspace.c')
0 files changed, 0 insertions, 0 deletions