diff options
author | Joe Perches <joe@perches.com> | 2010-01-11 11:49:51 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-01-11 11:49:51 +0100 |
commit | c299bd53aa2616e6afc304b4f848186af3b3a881 (patch) | |
tree | 5f9eb0fef6e6e607adbfd0f19df4816868791e33 /include/net | |
parent | 6f7edb4881bf51300060e89915926e070ace8c4d (diff) | |
download | talos-obmc-linux-c299bd53aa2616e6afc304b4f848186af3b3a881.tar.gz talos-obmc-linux-c299bd53aa2616e6afc304b4f848186af3b3a881.zip |
netfilter: nf_nat_ftp: remove (*mangle[]) array and functions, use %pI4
These functions merely exist to format a buffer and call
nf_nat_mangle_tcp_packet.
Format the buffer and perform the call in nf_nat_ftp instead.
Use %pI4 for the IP address.
Saves ~600 bytes of text
old:
$ size net/ipv4/netfilter/nf_nat_ftp.o
text data bss dec hex filename
2187 160 408 2755 ac3 net/ipv4/netfilter/nf_nat_ftp.o
new:
$ size net/ipv4/netfilter/nf_nat_ftp.o
text data bss dec hex filename
1532 112 288 1932 78c net/ipv4/netfilter/nf_nat_ftp.o
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions