commit | 6aa187f21ca2d8ade791f01fd8fab908b1f27673 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Fri Sep 18 14:32:57 2015 -0500 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Sep 18 21:58:01 2015 +0200 |
tree | 5bc4d4acfb4e4bd57976e87c9ab2a1a4d8b017e8 | |
parent | 082a758f042e1c1eb241bfc2308ddc2b4ef6840d [diff] |
netfilter: nf_tables: kill nft_pktinfo.ops - Add nft_pktinfo.pf to replace ops->pf - Add nft_pktinfo.hook to replace ops->hooknum This simplifies the code, makes it more readable, and likely reduces cache line misses. Maintainability is enhanced as the details of nft_hook_ops are of no concern to the recpients of nft_pktinfo. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>