netfilter: convert while loops to for loops
authorAaron Conole <aconole@bytheb.org>
Tue, 15 Nov 2016 22:48:46 +0000 (17:48 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Dec 2016 20:42:16 +0000 (21:42 +0100)
commit679972f3bef8df7aa04cc99b46f71392ebf0b5f8
treeaff2c107d1f2e848a5fbe6288288fbd7c7651e39
parentd415b9eb76fc55c03ef5451691170aa5771dcea3
netfilter: convert while loops to for loops

This is to facilitate converting from a singly-linked list to an array
of elements.

Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_netfilter_hooks.c
net/netfilter/core.c