module problem memset in 0.1.18
abhay@kanhere.net
abhay@kanhere.net
Sun, 27 Feb 2000 09:33:40 -0600 (CST)
Hi
Regarding 'memset' in module ip_conntrack_core.c
It occurs due to this structure init in ip_conntrack_core.c line 776...
----------------------------------------------------------------
*conntrack = ((struct ip_conntrack)
{{ {{ NULL, NULL }, *tuple, conntrack },
{{ NULL, NULL }, repl_tuple, conntrack },
},
1 << IPS_NORMAL, 0,
ATOMIC_INIT(1), /* home reference. */
{ NULL, NULL, jiffies + protocol->expiry,
(unsigned long)conntrack, NULL },
/* Expected */
{{ NULL, NULL }, { { 0, { 0 }, 0 }, { 0, { 0 }, 0 } } },
/* helper */
helper });
----------------------------------------------------------------
compiler gcc 2.7.2.3.
This module has a external symbol memset, hence cannot be insmod'd.
I think this location is left out wrt. taking care of memsets (as explained in
comment about partial-structure init ).
- Abhay
--
PKI lookup "Abhay Kanhere"
DSA/ELG fingerprint = 48AE F7B6 8723 52C6 D108 0854 AE56 E1C4 9500 EEAD
DSA Key fingerprint = FDF2 68DF C109 D6F5 A893 8C46 447E 7157 EBC8 476C