commit | d2f77c53342e3e13ce1fd7f9638ee200026e14f4 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Mon Jun 29 22:26:22 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 29 17:29:38 2020 -0700 |
tree | 7e0cedc6ab5b996ed28295e2ed547e8f602294c4 | |
parent | 8fd738049ac3d67a937d36577763b47180aae1ad [diff] |
mptcp: check for plain TCP sock at accept time This cleanup the code a bit and avoid corrupted states on weird syscall sequence (accept(), connect()). Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>