diff options
author | 2022-07-08 16:36:09 -0700 | |
---|---|---|
committer | 2022-07-11 11:31:38 +0100 | |
commit | 5c835bb142d4013c2ab24bff5ae9f6709a39cbcf (patch) | |
tree | 7213de53b91b9a42654da4d4988ed6d1676c3be2 /tools/perf/scripts/python/stackcollapse.py | |
parent | vlan: fix memory leak in vlan_newlink() (diff) | |
download | linux-dev-5c835bb142d4013c2ab24bff5ae9f6709a39cbcf.tar.xz linux-dev-5c835bb142d4013c2ab24bff5ae9f6709a39cbcf.zip |
mptcp: fix subflow traversal at disconnect time
At disconnect time the MPTCP protocol traverse the subflows
list closing each of them. In some circumstances - MPJ subflow,
passive MPTCP socket, the latter operation can remove the
subflow from the list, invalidating the current iterator.
Address the issue using the safe list traversing helper
variant.
Reported-by: van fantasy <g1042620637@gmail.com>
Fixes: b29fcfb54cd7 ("mptcp: full disconnect implementation")
Tested-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions