From: holger@eitzenberger.org Date: Mon, 30 Sep 2013 15:07:28 +0000 (+0200) Subject: netfilter: nf_ct_sip: consolidate NAT hook functions X-Git-Tag: v3.13-rc1~105^2~227^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180cf72f56fab2810e00497c087c7126bfe53c85;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed