Tung Nguyen 48766a583c tipc: improve function tipc_wait_for_rcvmsg()
This commit replaces schedule_timeout() with wait_woken()
in function tipc_wait_for_rcvmsg(). wait_woken() uses
memory barriers in its implementation to avoid potential
race condition when putting a process into sleeping state
and then waking it up.

Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-21 13:58:05 -08:00
..
2018-03-23 13:12:18 -04:00
2018-12-19 11:49:24 -08:00
2018-03-27 13:18:09 -04:00
2018-08-29 18:04:54 -07:00
2018-12-19 11:49:24 -08:00
2018-12-19 11:49:24 -08:00
2018-07-21 16:23:22 -07:00
2016-07-26 14:26:42 -07:00
2018-08-29 18:04:54 -07:00
2018-12-19 11:49:24 -08:00
2018-12-19 11:49:24 -08:00
2018-12-19 11:49:25 -08:00