diff options
| author | 2008-03-05 15:49:55 +0800 | |
|---|---|---|
| committer | 2008-03-10 15:14:19 -0700 | |
| commit | cdef59a94c2fc962ada379d4240d556db7b56d55 (patch) | |
| tree | 80abc337bb85896eca55e789f7ebf2c5af4d1fee /kernel/rtmutex-debug.c | |
| parent | ocfs2/dlm: dlm_thread should not sleep while holding the dlm_spinlock (diff) | |
| download | linux-dev-cdef59a94c2fc962ada379d4240d556db7b56d55.tar.xz linux-dev-cdef59a94c2fc962ada379d4240d556db7b56d55.zip | |
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 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions
