Tao Ma cdef59a94c ocfs2: Fix NULL pointer dereferences in o2net
In some situations, ocfs2_set_nn_state might get called with sc = NULL and
valid = 0. If sc = NULL, we can't dereference it to get the o2nm_node
member. Instead, do what o2net_initialize_handshake does and use NULL when
calling o2net_reconnect_delay and o2net_idle_timeout.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2008-03-10 15:14:19 -07:00
..
2007-10-16 09:42:58 -07:00
2008-01-25 14:45:34 -08:00
2008-03-03 15:50:21 -08:00
2007-10-12 11:54:38 -07:00
2008-01-25 15:05:44 -08:00
2007-04-26 15:10:40 -07:00
2008-01-25 15:05:45 -08:00
2008-01-25 15:05:43 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 15:05:19 -08:00
2007-05-02 15:07:16 -07:00
2008-01-25 14:46:01 -08:00
2008-01-25 15:05:44 -08:00
2008-02-03 17:33:42 +02:00
2008-01-25 14:45:34 -08:00
2008-01-25 14:45:34 -08:00
2008-02-03 17:33:42 +02:00
2007-05-07 12:12:51 -07:00
2008-01-25 15:05:46 -08:00