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