Hendrik Brueckner d9973179ae af_iucv: fix race in __iucv_sock_wait()
Moving prepare_to_wait before the condition to avoid a race between
schedule_timeout and wake up.
The race can appear during iucv_sock_connect() and iucv_callback_connack().

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-16 20:57:35 -07:00
..
2009-09-03 20:02:17 -07:00
2009-09-14 17:03:09 -07:00
2009-09-01 17:40:57 -07:00
2009-09-02 01:03:53 -07:00
2009-09-02 01:03:53 -07:00
2009-09-14 17:03:09 -07:00
2009-09-14 17:03:09 -07:00
2009-09-14 17:03:05 -07:00
2009-09-11 14:59:37 -04:00
2009-09-16 16:21:00 -04:00
2009-09-02 01:03:53 -07:00