[PATCH 5.4 232/321] tipc: Fix use-after-free of kernel socket in cleanup_bearer().