diff options
author | 2022-01-06 16:20:20 -0800 | |
---|---|---|
committer | 2022-01-07 11:27:07 +0000 | |
commit | f7d6a237d7422809d458d754016de2844017cb4d (patch) | |
tree | 031ef9cda951553e31be232f2b0bb8414cb57a5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: mptcp: add disconnect tests (diff) | |
download | wireguard-linux-f7d6a237d7422809d458d754016de2844017cb4d.tar.xz wireguard-linux-f7d6a237d7422809d458d754016de2844017cb4d.zip |
mptcp: fix per socket endpoint accounting
Since full-mesh endpoint support, the reception of a single ADD_ADDR
option can cause multiple subflows creation. When such option is
accepted we increment 'add_addr_accepted' by one. When we received
a paired RM_ADDR option, we deleted all the relevant subflows,
decrementing 'add_addr_accepted' by one for each of them.
We have a similar issue for 'local_addr_used'
Fix them moving the pm endpoint accounting outside the subflow
traversal.
Fixes: 1a0d6136c5f0 ("mptcp: local addresses fullmesh")
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions