]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ee0578f8f3f1f44783c43558afadefbda05d2eb
tree5d4a7c1c7e0bf2db6919dbd2bb6d7127c9fc4e9b
parent2a1745e072d0425479a63d1a4ad2eb89fc1b8c29
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