Re: [PATCH nf 1/3] netfilter: nfnetlink: use list_for_each_entry_safe to delete all objects

2016-08-25 Thread Pablo Neira Ayuso
On Mon, Aug 22, 2016 at 09:58:16PM +0800, Liping Zhang wrote: > From: Liping Zhang > > cttimeout and acct objects are deleted from the list while traversing > it, so use list_for_each_entry is unsafe here. Also applied, thanks. -- To unsubscribe from this list: send

[PATCH nf 1/3] netfilter: nfnetlink: use list_for_each_entry_safe to delete all objects

2016-08-22 Thread Liping Zhang
From: Liping Zhang 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 --- net/netfilter/nfnetlink_acct.c | 6 +++---