diff options
author | 2021-03-04 13:32:12 -0800 | |
---|---|---|
committer | 2021-03-04 14:30:13 -0800 | |
commit | c8fe62f0768cc9378103fc89fb96804645f527c9 (patch) | |
tree | a11a21808037ab723d8f6cf32536dff59e6d8a68 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mptcp: dispose initial struct socket when its subflow is closed (diff) | |
download | linux-dev-c8fe62f0768cc9378103fc89fb96804645f527c9.tar.xz linux-dev-c8fe62f0768cc9378103fc89fb96804645f527c9.zip |
mptcp: reset 'first' and ack_hint on subflow close
Just like with last_snd, we have to NULL 'first' on subflow close.
ack_hint isn't strictly required (its never dereferenced), but better to
clear this explicitly as well instead of making it an exception.
msk->first is dereferenced unconditionally at accept time, but
at that point the ssk is not on the conn_list yet -- this means
worker can't see it when iterating the conn_list.
Reported-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
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