diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-03-05 15:49:55 +0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-03-10 15:14:19 -0700 |
commit | cdef59a94c2fc962ada379d4240d556db7b56d55 (patch) | |
tree | 80abc337bb85896eca55e789f7ebf2c5af4d1fee /fs/xfs | |
parent | c824c3c723f2e37a00b3b739a55b28de595fd72e (diff) |
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>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions