aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2008-07-04 09:31:11 +0200
committerJens Axboe <[email protected]>2008-07-04 09:52:13 +0200
commit30c00eda73d5db5bd64dd0c370161abd8df5ba4a (patch)
tree87b5a34323eb98edf504e51b2d8e0291559579e3 /net/unix/sysctl_net_unix.c
parent27f8221af406e43b529a5425bc99c9b1e9bdf521 (diff)
block: blk_rq_map_kern uses the bounce buffers for stack buffers
blk_rq_map_kern is used for kernel internal I/Os. Some callers use this function with stack buffers but DMA to/from the stack buffers leads to memory corruption on a non-coherent platform. This patch make blk_rq_map_kern uses the bounce buffers if a caller passes a stack buffer (on the all platforms for simplicity). Signed-off-by: FUJITA Tomonori <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: Tejun Heo <[email protected]> Cc: James Bottomley <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions