[PATCH openEuler-1.0-LTS 04/13] net: tun: Fix use-after-free in tun_detach()