summaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_conntrack_l4proto.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-31 15:40:52 +0300
committerDavid S. Miller <davem@davemloft.net>2008-02-01 06:27:57 +0300
commit0794935e21a18e7c171b604c31219b60ad9749a9 (patch)
tree1d34141abf0c88601d79e3913f3b61fb32dea656 /include/net/netfilter/nf_conntrack_l4proto.h
parent380517dead6ab86d7249a1723f07f2f1b10af5f6 (diff)
downloadlinux-0794935e21a18e7c171b604c31219b60ad9749a9.tar.xz
[NETFILTER]: nf_conntrack: optimize hash_conntrack()
Avoid calling jhash three times and hash the entire tuple in one go. __hash_conntrack | -485 # 760 -> 275, # inlines: 3 -> 1, size inlines: 717 -> 252 1 function changed, 485 bytes removed Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_l4proto.h')
0 files changed, 0 insertions, 0 deletions