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