diff options
author | Felipe Contreras <felipe.contreras@nokia.com> | 2011-03-11 18:29:06 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:03:48 -0700 |
commit | 9d0a3d6acaca7004f2800d50eb44ccaca4257aee (patch) | |
tree | bab51f3819da5c3350cebe808283c6cce7804731 /drivers/net | |
parent | 9396b825a10a1f25f60085f49e2cde42a4bd39ee (diff) |
staging: tidspbridge: protect dmm_map properly
commit ab42abf33a3efdf754710a0a513c00c40854cd61 upstream.
We need to protect not only the dmm_map list, but the individual
map_obj's, otherwise, we might be building the scatter-gather list with
garbage. So, use the existing proc_lock for that.
I observed race conditions which caused kernel panics while running
stress tests, also, Tuomas Kulve found it happening quite often in
Gumstix Over. This patch fixes those.
Cc: Tuomas Kulve <tuomas@kulve.fi>
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions