Thread (5 messages) flat view 5 messages, 4 authors, 2016-11-04

Re: [Patch net] inet: fix sleeping inside inet_wait_for_connect()

From: David Miller <davem@davemloft.net>
Date: 2016-11-03 19:19:09

From: Cong Wang <redacted>
Date: Tue,  1 Nov 2016 16:04:36 -0700
Andrey reported this kernel warning:
 ...
Unlike commit 26cabd31259ba43f68026ce3f62b78094124333f
("sched, net: Clean up sk_wait_event() vs. might_sleep()"), the
sleeping function is called before schedule_timeout(), this is indeed
a bug. Fix this by moving the wait logic to the new API, it is similar
to commit ff960a731788a7408b6f66ec4fd772ff18833211
("netdev, sched/wait: Fix sleeping inside wait event").

Reported-by: Andrey Konovalov <redacted>
Cc: Andrey Konovalov <redacted>
Cc: Eric Dumazet <redacted>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Cong Wang <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help