commit | 01886bd91f1ba418ce669dfe97a06ca9504e482a | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Nov 03 10:56:35 2016 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Nov 03 11:52:58 2016 +0100 |
tree | 8ca4687177e9159d364790ce83c303360424dbd4 | |
parent | c63cbc4604199af6627633f2bb3847a8951f48e5 [diff] |
netfilter: remove hook_entries field from nf_hook_state This field is only useful for nf_queue, so store it in the nf_queue_entry structure instead, away from the core path. Pass hook_head to nf_hook_slow(). Since we always have a valid entry on the first iteration in nf_iterate(), we can use 'do { ... } while (entry)' loop instead. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>