diff options
author | Patrick McHardy <kaber@trash.net> | 2008-04-14 11:15:52 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-14 11:15:52 +0200 |
commit | dd13b010368f85dfa59364ba87bfe8ae930b2832 (patch) | |
tree | f7f0a8fa77858674564aeb614499f40dd3c6dcd8 /kernel/kprobes.c | |
parent | 55871d04793d9c069ee277b1e98794b88d92ed80 (diff) |
[NETFILTER]: nf_nat: kill helper and seq_adjust hooks
Connection tracking helpers (specifically FTP) need to be called
before NAT sequence numbers adjustments are performed to be able
to compare them against previously seen ones. We've introduced
two new hooks around 2.6.11 to maintain this ordering when NAT
modules were changed to get called from conntrack helpers directly.
The cost of netfilter hooks is quite high and sequence number
adjustments are only rarely needed however. Add a RCU-protected
sequence number adjustment function pointer and call it from
IPv4 conntrack after calling the helper.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions