diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 588bf88c3305d3e73bed1584d4aa23f234c4e26c..b161184f77f6da6c8909eaf439ef6167688f0002 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -185,6 +185,8 @@ static void p9_mux_poll_stop(struct p9_conn *m) spin_lock_irqsave(&p9_poll_lock, flags); list_del_init(&m->poll_pending_link); spin_unlock_irqrestore(&p9_poll_lock, flags); + + flush_work(&p9_poll_work); } /**