Skip to content
Commit aec9db35 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

6LoWPAN: use the _safe version of list_for_each



When we kfree(entry) that causes a use-after-free bug so we have to
use list_for_each_entry_safe() safe here.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 90d0963d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment