[PATCH 6.1 535/772] tipc: Fix use-after-free of kernel socket in cleanup_bearer().