OpenCloudOS-Kernel/drivers/misc/sgi-xp
Dean Nelson 361916a943 sgi-xp: fix writing past the end of kzalloc()'d space
A missing type cast results in writing way beyond the end of a kzalloc()'d
memory segment resulting in slab corruption. But it seems like the better
solution is to define ->recv_msg_slots as a 'void *' rather than a
'struct xpc_notify_mq_msg_uv *' and add the type cast.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-05 12:56:49 -08:00
..
Makefile sgi-xp: only build for ia64-sn2 when CONFIG_IA64_GENERIC specified 2008-10-30 11:38:46 -07:00
xp.h Merge branch 'linus' into x86/uv 2008-11-20 09:02:39 +01:00
xp_main.c SGI: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
xp_nofault.S [IA64] run some drivers/misc/sgi-xp through scripts/Lindent 2008-04-22 15:08:29 -07:00
xp_sn2.c sgi-xp: define xp_expand_memprotect() and xp_restrict_memprotect() 2008-11-05 20:32:20 -08:00
xp_uv.c sgi-xp: define xp_partition_id and xp_region_size 2008-11-05 20:32:21 -08:00
xpc.h sgi-xp: fix writing past the end of kzalloc()'d space 2009-02-05 12:56:49 -08:00
xpc_channel.c sgi-xpc: fix up stale DBUG_ON statements 2009-01-29 18:04:43 -08:00
xpc_main.c SGI: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
xpc_partition.c sgi-xp: setup the activate GRU message queue 2008-07-30 09:41:50 -07:00
xpc_sn2.c sgi-xpc: fix up stale DBUG_ON statements 2009-01-29 18:04:43 -08:00
xpc_uv.c sgi-xp: fix writing past the end of kzalloc()'d space 2009-02-05 12:56:49 -08:00
xpnet.c sgi-xp: link XPNET's net_device_ops to its net_device structure 2009-02-03 15:16:48 -08:00