Eric W. Biederman 082a758f04 inet netfilter: Prefer state->hook to ops->hooknum
The values of nf_hook_state.hook and nf_hook_ops.hooknum must be the
same by definition.

We are more likely to access the fields in nf_hook_state over the
fields in nf_hook_ops so with a little luck this results in
fewer cache line misses, and slightly more consistent code.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2015-09-18 21:57:51 +02:00
..
2015-08-30 18:12:36 -04:00
2015-09-17 21:09:07 -07:00
2015-09-17 17:18:37 -07:00
2015-08-24 14:48:10 -07:00
2015-08-31 12:45:09 -07:00
2015-09-17 22:37:19 -07:00
2015-09-03 15:43:05 -07:00
2015-09-09 08:33:31 -07:00