[PATCH 5.4 46/54] tipc: fix a deadlock when flushing scheduled work