Skip to contentSkip to conversation

fix netfilter build without INET

PATCH New Stephen Hemminger 1 participant 1 message Nov 1, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix netfilter build without INET

Get rid of build error if INET is not configured. Problem is that core would end up exporting non-existent symbol.

net/core/netfilter.c +1 -1
diff -Nru a/net/core/netfilter.c b/net/core/netfilter.c
@@ -673,6 +673,7 @@
 
 	return 0;
 }
+EXPORT_SYMBOL(ip_route_me_harder);
 
 int skb_ip_make_writable(struct sk_buff **pskb, unsigned int writable_len)
 {
@@ -818,7 +819,6 @@
 }
 
 EXPORT_SYMBOL(ip_ct_attach);
-EXPORT_SYMBOL(ip_route_me_harder);
 EXPORT_SYMBOL(nf_getsockopt);
 EXPORT_SYMBOL(nf_hook_slow);
 EXPORT_SYMBOL(nf_hooks);