All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix owner-socketlookup patch
@ 2003-04-17 14:24 Patrick McHardy
  2003-04-17 16:22 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2003-04-17 14:24 UTC (permalink / raw)
  To: Harald Welte; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

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


[-- Attachment #2: owner.diff --]
[-- Type: text/plain, Size: 1160 bytes --]

Index: patch-o-matic/extra/owner-socketlookup.patch
===================================================================
RCS file: /cvspublic/netfilter/patch-o-matic/extra/owner-socketlookup.patch,v
retrieving revision 1.1
diff -u -r1.1 owner-socketlookup.patch
--- patch-o-matic/extra/owner-socketlookup.patch	1 Apr 2003 18:02:42 -0000	1.1
+++ patch-o-matic/extra/owner-socketlookup.patch	17 Apr 2003 14:17:45 -0000
@@ -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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-17 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 14:24 [PATCH] fix owner-socketlookup patch Patrick McHardy
2003-04-17 16:22 ` 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.