sched, wait: Make the __wait_event*() interface more friendly
Quoted 6 lines · Peter Zijlstra
+++
b/net/netfilter/ipvs/ip_vs_sync.c(quoted diff) +0
-1@@ -1637,12 +1637,9 @@ static int sync_thread_master(void *data continue; } while (ip_vs_send_sync_msg(tinfo->sock, sb->mesg) < 0) { - int ret = 0;
Review static int sync_thread_master(void *data · line 1645
Quoted 10 lines
(quoted diff) +2
-4- - __wait_event_interruptible(*sk_sleep(sk), + int ret = __wait_event_interruptible(*sk_sleep(sk), sock_writeable(sk) || - kthread_should_stop(), - ret); + kthread_should_stop()); if (unlikely(kthread_should_stop())) goto done; }
That site seems to be ignoring the interruptible state... seems wrong.
Pablo?