netfilter: nfnetlink: use list_for_each_entry_safe to delete all objects
authorLiping Zhang <liping.zhang@spreadtrum.com>
Mon, 22 Aug 2016 13:58:16 +0000 (21:58 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 25 Aug 2016 11:11:00 +0000 (13:11 +0200)
commit93fac10b99d78eb2c50a739cba2e590c7332d539
tree6c77b52fae33055b1dd65810111ad98aa604a255
parent89e1f6d2b956649fbe0704d543a90b8e0cf872b0
netfilter: nfnetlink: use list_for_each_entry_safe to delete all objects

cttimeout and acct objects are deleted from the list while traversing
it, so use list_for_each_entry is unsafe here.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_acct.c
net/netfilter/nfnetlink_cttimeout.c
This page took 0.029396 seconds and 5 git commands to generate.