From: Dan Carpenter Date: Wed, 29 Oct 2014 16:10:57 +0000 (+0300) Subject: Bluetooth: 6lowpan: use after free in disconnect_devices() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daac197ca9966eca3a6b07600e579756a9a1d447;p=pandora-kernel.git Bluetooth: 6lowpan: use after free in disconnect_devices() This was accidentally changed from list_for_each_entry_safe() to list_for_each_entry() so now it has a use after free bug. I've changed it back. Fixes: 90305829635d ('Bluetooth: 6lowpan: Converting rwlocks to use RCU') Signed-off-by: Dan Carpenter Acked-by: Jukka Rissanen Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed