aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRobin Holt <holt@sgi.com>2006-09-01 10:41:39 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-08 14:51:39 -0700
commitd6b7fe9e1d58514758c6dfe54f949333e830485e (patch)
tree42246f435cb768276905ae4a2621ad6580790db9 /net
parent4ccc9a4b06b170b88d25bfd2d50fce487ed1471c (diff)
Silent data corruption caused by XPC
Jack Steiner identified a problem where XPC can cause a silent data corruption. On module load, the placement may cause the xpc_remote_copy_buffer to span two physical pages. DMA transfers are done to the start virtual address translated to physical. This patch changes the buffer from a statically allocated buffer to a kmalloc'd buffer. Dean Nelson reviewed this before posting. I have tested it in the configuration that was showing the memory corruption and verified it works. I also added a BUG_ON statement to help catch this if a similar situation is encountered. Signed-off-by: Robin Holt <holt@sgi.com> Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions