aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@nokia.com>2011-03-11 19:29:06 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 15:22:27 -0400
commitab42abf33a3efdf754710a0a513c00c40854cd61 (patch)
treea8c7a9aa9b6cab93b767caed5bfaf4b318711e8b /net/lapb/lapb_out.c
parent17e2a542032f3ab735352d1d4b5d2ca3c154158a (diff)
staging: tidspbridge: protect dmm_map properly
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> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions