diff options
author | Paolo Abeni <pabeni@redhat.com> | 2021-06-21 15:54:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 09:57:45 -0700 |
commit | 8cfc47fc2eb0fd2d6eaa9e4b23b4bf6ef1bfaeef (patch) | |
tree | f849faaff47a43151ae2729b6139079ddabdeaa6 /net/mptcp/subflow.c | |
parent | 3c90e377a1e87a35a7f868ed1c53ea4d62379a8d (diff) |
mptcp: drop redundant test in move_skbs_to_msk()
Currently we check the msk state to avoid enqueuing new
skbs at msk shutdown time.
Such test is racy - as we can't acquire the msk socket lock -
and useless, as the caller already checked the subflow
field 'disposable', covering the same scenario in a race
free manner - read and updated under the ssk socket lock.
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/subflow.c')
0 files changed, 0 insertions, 0 deletions