[PATCH OLK-5.10 1/2] tipc: Fix use-after-free of kernel socket in cleanup_bearer().