android_kernel_xiaomi_sm8350/fs/ocfs2
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
..
cluster ocfs2: Fix NULL pointer dereferences in o2net 2008-03-10 15:14:19 -07:00
dlm ocfs2/dlm: dlm_thread should not sleep while holding the dlm_spinlock 2008-03-10 15:14:17 -07:00
alloc.c Pagecache zeroing: zero_user_segment, zero_user_segments and zero_user 2008-02-05 09:44:13 -08:00
alloc.h
aops.c [PATCH] fs/ocfs2/aops.c: Correct use of ! and & 2008-03-03 15:50:21 -08:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c [PATCH] ocfs2: le*_add_cpu conversion 2008-03-03 15:50:21 -08:00
dir.h
dlmglue.c [PATCH] [OCFS2]: constify function pointer tables 2008-03-10 15:13:57 -07:00
dlmglue.h [2.6 patch] fs/ocfs2/: possible cleanups 2008-03-03 15:50:21 -08:00
export.c
export.h
extent_map.c
extent_map.h
file.c
file.h
heartbeat.c [2.6 patch] fs/ocfs2/: possible cleanups 2008-03-03 15:50:21 -08:00
heartbeat.h [2.6 patch] fs/ocfs2/: possible cleanups 2008-03-03 15:50:21 -08:00
inode.c
inode.h
ioctl.c
ioctl.h
journal.c
journal.h
localalloc.c [PATCH] ocfs2: le*_add_cpu conversion 2008-03-03 15:50:21 -08:00
localalloc.h
locks.c
locks.h
Makefile
mmap.c
mmap.h
namei.c
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h
ocfs2_lockid.h
ocfs2_lockingver.h ocfs2: Negotiate locking protocol versions. 2008-02-06 16:11:29 -08:00
ocfs2.h byteorder: move le32_add_cpu & friends from OCFS2 to core 2008-02-08 09:22:32 -08:00
resize.c ocfs2: Fix an endian bug in online resize. 2008-03-10 15:14:07 -07:00
resize.h
slot_map.c
slot_map.h
suballoc.c
suballoc.h
super.c ocfs2: Negotiate locking protocol versions. 2008-02-06 16:11:29 -08:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h