ipvs: Read hooknum from state rather than ops->hooknum
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 18 Sep 2015 19:33:05 +0000 (14:33 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Sep 2015 20:00:10 +0000 (22:00 +0200)
commit176971b33859135d8dbda9b79e16cb1cf615eb92
tree5d4a7c1c7e0bf2db6919dbd2bb6d7127c9fc4e9b
parenta31f1adc0948930fba9ab5a111ccd735a5d864c6
ipvs: Read hooknum from state rather than ops->hooknum

This should be more cache efficient as state is more likely to be in
core, and the netfilter core will stop passing in ops soon.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c