summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorholger@eitzenberger.org <holger@eitzenberger.org>2013-09-30 17:07:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-10-01 12:47:09 +0200
commit180cf72f56fab2810e00497c087c7126bfe53c85 (patch)
treee55b1aa0ec9bc00b896b75423aa262d32e8231de /net/core/dev.c
parentafff14f6089ac50f05f29e489c5b2a067077d560 (diff)
netfilter: nf_ct_sip: consolidate NAT hook functions
There are currently seven different NAT hooks used in both nf_conntrack_sip and nf_nat_sip, each of the hooks is exported in nf_conntrack_sip, then set from the nf_nat_sip NAT helper. And because each of them is exported there is quite some overhead introduced due of this. By introducing nf_nat_sip_hooks I am able to reduce both text/data somewhat. For nf_conntrack_sip e. g. I get text data bss dec old 15243 5256 32 20531 new 15010 5192 32 20234 Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions