fix owner-socketlookup patch
PATCH 1/1 fix owner-socketlookup patch
Hi Harald,
this patch fixes build of the ipt_owner.c as module with the owner-socketlookup patch. When neither of CONFIG_IPV6_MODULE/CONFIG_KHTTPD/CONFIG_KHTTPD_MODULE are defined tcp_timewait_cachep needs to be exported for tcp_tw_put().
Please apply to CVS.
Best regards,
Patrick
Index: patch-o-matic/extra/owner-socketlookup.patch
===================================================================
RCS file: /cvspublic/netfilter/patch-o-matic/extra/owner-socketlookup.patch,v retrieving revision 1.1
extra/owner-socketlookup.patch +5 -2
@@ -201,14 +201,17 @@ diff -urN a/net/netsyms.c b/net/netsyms.c --- a/net/netsyms.c 2002-11-29 00:53:16.000000000 +0100 -+++ b/net/netsyms.c 2003-03-27 15:33:45.000000000 +0100 -@@ -596,4 +596,9 @@ ++++ b/net/netsyms.c 2003-04-17 16:10:31.000000000 +0200 +@@ -596,4 +596,12 @@ EXPORT_SYMBOL(wireless_send_event); #endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */ +#if defined(CONFIG_IP_NF_MATCH_OWNER)||defined(CONFIG_IP_NF_MATCH_OWNER_MODULE) +EXPORT_SYMBOL(tcp_v4_lookup); +EXPORT_SYMBOL(udp_v4_lookup); ++#if !(defined (CONFIG_IPV6_MODULE) || defined (CONFIG_KHTTPD) || defined (CONFIG_KHTTPD_MODULE)) ++EXPORT_SYMBOL(tcp_timewait_cachep); ++#endif +#endif /* CONFIG_IP_NF_MATCH_OWNER */ + #endif /* CONFIG_NET */
Harald Welte
AppliedQuoted 7 lines · Patrick McHardy
Hi Harald,
this patch fixes build of theipt_owner.cas module with the owner-socketlookup patch.
When neither of CONFIG_IPV6_MODULE/CONFIG_KHTTPD/CONFIG_KHTTPD_MODULE are definedtcp_timewait_cachepneeds to be exported fortcp_tw_put().Please apply to CVS.
applied, thanks.
Quoted 2 lines
Best regards,
Patrick
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie