diff options
author | Changli Gao <[email protected]> | 2010-09-21 17:49:20 +0200 |
---|---|---|
committer | Patrick McHardy <[email protected]> | 2010-09-21 17:49:20 +0200 |
commit | 99f07e91bef34db0fc8b1a224096e97f02dc0d56 (patch) | |
tree | 869d47e97adb3c04b42f38a55836f2518f6221f9 /tools/perf/util/trace-event-scripting.c | |
parent | 8a8030407f55a6aaedb51167c1a2383311fcd707 (diff) |
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 <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions