netfilter: xtables: change hotdrop pointer to direct modification
authorJan Engelhardt <jengelh@medozas.de>
Tue, 7 Jul 2009 18:54:30 +0000 (20:54 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 11 May 2010 16:35:27 +0000 (18:35 +0200)
commitb4ba26119b06052888696491f614201817491a0d
treed6dc2a4e0f78641b5b64a1728322c81cbad09974
parent62fc8051083a334578c3f4b3488808f210b4565f
netfilter: xtables: change hotdrop pointer to direct modification

Since xt_action_param is writable, let's use it. The pointer to
'bool hotdrop' always worried (8 bytes (64-bit) to write 1 byte!).
Surprisingly results in a reduction in size:

   text    data     bss filename
5457066  692730  357892 vmlinux.o-prev
5456554  692730  357892 vmlinux.o

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
22 files changed:
include/linux/netfilter/x_tables.h
net/bridge/netfilter/ebtables.c
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv4/netfilter/ipt_ah.c
net/ipv4/netfilter/ipt_ecn.c
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/ip6t_ah.c
net/ipv6/netfilter/ip6t_eui64.c
net/ipv6/netfilter/ip6t_frag.c
net/ipv6/netfilter/ip6t_hbh.c
net/ipv6/netfilter/ip6t_mh.c
net/ipv6/netfilter/ip6t_rt.c
net/netfilter/xt_connlimit.c
net/netfilter/xt_dccp.c
net/netfilter/xt_esp.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_multiport.c
net/netfilter/xt_recent.c
net/netfilter/xt_sctp.c
net/netfilter/xt_tcpmss.c
net/netfilter/xt_tcpudp.c