* [PATCH] Dead code elimination in ip_conntrack_core.c
@ 2003-03-15 17:30 Stephane Ouellette
2003-03-26 14:48 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Stephane Ouellette @ 2003-03-15 17:30 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
List members,
the following cosmetic patch removes dead code in
ip_conntrack_init() if CONFIG_SYSCTL is not defined.
The patch applies against a plain 2.4.21-pre5-ac3 kernel.
Regards,
Stephane Ouellette
[-- Attachment #2: ip_conntrack_core.c.patch --]
[-- Type: text/plain, Size: 439 bytes --]
--- linux-2.4.21-pre5-ac3/net/ipv4/netfilter/ip_conntrack_core.c Sat Mar 15 12:16:55 2003
+++ linux-2.4.21-pre5-ac3-fixed/net/ipv4/netfilter/ip_conntrack_core.c Sat Mar 15 12:23:34 2003
@@ -1478,8 +1478,10 @@
ip_ct_attach = ip_conntrack_attach;
return ret;
+#ifdef CONFIG_SYSCTL
err_free_ct_cachep:
kmem_cache_destroy(ip_conntrack_cachep);
+#endif /*CONFIG_SYSCTL*/
err_free_hash:
vfree(ip_conntrack_hash);
err_unreg_sockopt:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-26 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-15 17:30 [PATCH] Dead code elimination in ip_conntrack_core.c Stephane Ouellette
2003-03-26 14:48 ` Harald Welte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.