]> 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)
commit2e6947ad42e285680e2afeb78a602c2f78fb6a40
tree5d4a7c1c7e0bf2db6919dbd2bb6d7127c9fc4e9b
parent9ef957ddcc07aa468f8602cc528d6fa458cc59f7
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