]> git.karo-electronics.de Git - linux-beck.git/commit
soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free
authorAxel Lin <axel.lin@ingics.com>
Mon, 3 Nov 2014 18:21:54 +0000 (10:21 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 3 Nov 2014 18:22:06 +0000 (10:22 -0800)
commit148bb0439adeeae466dca31dd4c643e194bee023
treee8bfa8d36d8493c96c7409248f3d2b68fd5c097e
parent39179cb5b789e0c0275ccb8fa83cfaf9257d1474
soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free

list_for_each_entry_safe() is necessary if list objects are deleted from
the list while traversing it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
drivers/soc/ti/knav_qmss_queue.c