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