fix netfilter build without INET
Subsystems (2)
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.
Signed-off-by Stephen Hemminger <[email protected]>
net/core/netfilter.c +1 -1
@@ -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);