[PATCH openEuler-1.0-LTS v2 2/6] net/tls: Fix use-after-free after the TLS device goes down and up