diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-01-24 00:56:07 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:37:03 +0100 |
commit | b182837ac111e87f8e82cbcb0046449d9412187f (patch) | |
tree | d1d27a06ac2a6dabb8600ce810d6afc070fd7e5c /fs/ubifs/tnc.c | |
parent | rbtree/test: test rbtree_postorder_for_each_entry_safe() (diff) | |
download | linux-b182837ac111e87f8e82cbcb0046449d9412187f.tar.xz linux-b182837ac111e87f8e82cbcb0046449d9412187f.zip |
net/netfilter/ipset/ip_set_hash_netiface.c: use rbtree postorder iteration instead of opencoding
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead
of opencoding an alternate postorder iteration that modifies the tree
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions