summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_app.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-09-21 17:49:20 +0200
committerPatrick McHardy <kaber@trash.net>2010-09-21 17:49:20 +0200
commit99f07e91bef34db0fc8b1a224096e97f02dc0d56 (patch)
tree869d47e97adb3c04b42f38a55836f2518f6221f9 /net/netfilter/ipvs/ip_vs_app.c
parent8a8030407f55a6aaedb51167c1a2383311fcd707 (diff)
downloadop-kernel-dev-99f07e91bef34db0fc8b1a224096e97f02dc0d56.zip
op-kernel-dev-99f07e91bef34db0fc8b1a224096e97f02dc0d56.tar.gz
netfilter: save the hash of the tuple in the original direction for latter use
Since we don't change the tuple in the original direction, we can save it in ct->tuplehash[IP_CT_DIR_REPLY].hnode.pprev for __nf_conntrack_confirm() use. __hash_conntrack() is split into two steps: hash_conntrack_raw() is used to get the raw hash, and __hash_bucket() is used to get the bucket id. In SYN-flood case, early_drop() doesn't need to recompute the hash again. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_app.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud