]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: move conntrack helper buffers from BSS to kmalloc()ed memory
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:19:44 +0000 (20:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:50:57 +0000 (15:50 -0700)
commit2669d63d20683828f673b606915957f3a070602d
tree7e8ab15a956035e63b22237ffdd6d0101b391589
parentbb97d31f5130d677644d9931ef38613d1164ec94
[NETFILTER]: move conntrack helper buffers from BSS to kmalloc()ed memory

According to DaveM, it is preferrable to have large data structures be
allocated dynamically from the module init() function rather than
putting them as static global variables into BSS.

This patch moves the conntrack helper packet buffers into dynamically
allocated memory.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_amanda.c
net/ipv4/netfilter/ip_conntrack_ftp.c
net/ipv4/netfilter/ip_conntrack_irc.c