[PATCH 6.12 032/466] tipc: Fix use-after-free of kernel socket in cleanup_bearer().