linux/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 ocfs2: clean up bh null checks 2008-01-25 15:05:48 -08:00
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 ocfs2: Silence false lockdep warnings 2008-01-25 15:05:44 -08:00
export.h
extent_map.c
extent_map.h
file.c ocfs2: printf fixes 2008-01-25 15:05:45 -08:00
file.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
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 ocfs2: convert byte order of constant instead of variable 2008-01-25 15:05:46 -08:00
inode.h ocfs2: Silence false lockdep warnings 2008-01-25 15:05:44 -08:00
ioctl.c ocfs2: Add missing permission checks 2008-01-25 15:05:19 -08:00
ioctl.h
journal.c ocfs2: Silence false lockdep warnings 2008-01-25 15:05:44 -08:00
journal.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
localalloc.c [PATCH] ocfs2: le*_add_cpu conversion 2008-03-03 15:50:21 -08:00
localalloc.h
locks.c [PATCH 2/2] ocfs2: cluster aware flock() 2008-01-25 15:05:43 -08:00
locks.h [PATCH 2/2] ocfs2: cluster aware flock() 2008-01-25 15:05:43 -08:00
Makefile [PATCH 2/2] ocfs2: cluster aware flock() 2008-01-25 15:05:43 -08:00
mmap.c
mmap.h
namei.c ocfs2: Silence false lockdep warnings 2008-01-25 15:05:44 -08:00
namei.h
ocfs1_fs_compat.h fs/: Spelling fixes 2008-02-03 17:33:42 +02:00
ocfs2_fs.h ocfs2: Local alloc window size changeable via mount option 2008-01-25 15:05:43 -08:00
ocfs2_lockid.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
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 [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
slot_map.c
slot_map.h
suballoc.c fs/: Spelling fixes 2008-02-03 17:33:42 +02:00
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 ocfs2: Silence false lockdep warnings 2008-01-25 15:05:44 -08:00
sysfile.h
uptodate.c
uptodate.h
ver.c ocfs2: bump version number 2008-01-25 15:05:46 -08:00
ver.h