summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/can_ucan_protocol.rst
diff options
context:
space:
mode:
authorJakub Kicinski2019-08-01 23:36:01 +0200
committerDavid S. Miller2019-08-05 22:15:30 +0200
commit5d92e631b8be8965a90c144320f06e096081a551 (patch)
tree41e1a228876173203fce25c0dd5affc20557e683 /Documentation/networking/can_ucan_protocol.rst
parentMerge branch 'net-fix-regressions-for-generic-XDP' (diff)
downloadkernel-qcow2-linux-5d92e631b8be8965a90c144320f06e096081a551.tar.gz
kernel-qcow2-linux-5d92e631b8be8965a90c144320f06e096081a551.tar.xz
kernel-qcow2-linux-5d92e631b8be8965a90c144320f06e096081a551.zip
net/tls: partially revert fix transition through disconnect with close
Looks like we were slightly overzealous with the shutdown() cleanup. Even though the sock->sk_state can reach CLOSED again, socket->state will not got back to SS_UNCONNECTED once connections is ESTABLISHED. Meaning we will see EISCONN if we try to reconnect, and EINVAL if we try to listen. Only listen sockets can be shutdown() and reused, but since ESTABLISHED sockets can never be re-connected() or used for listen() we don't need to try to clean up the ULP state early. Fixes: 32857cf57f92 ("net/tls: fix transition through disconnect with close") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/can_ucan_protocol.rst')
0 files changed, 0 insertions, 0 deletions