Thread (15 messages) 15 messages, 2 authors, 2013-08-31

Re: [PATCH net-next v11 01/11] ipv6: move ip6_dst_hoplimit() into core kernel

From: David Miller <davem@davemloft.net>
Date: 2013-08-31 04:59:34

From: Cong Wang <redacted>
Date: Sat, 31 Aug 2013 11:07:18 +0800
quoted hunk ↗ jump to hunk
@@ -75,3 +76,24 @@ int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr)
 	return offset;
 }
 EXPORT_SYMBOL(ip6_find_1stfragopt);
+
+#if IS_ENABLED(CONFIG_IPV6)
+int ip6_dst_hoplimit(struct dst_entry *dst)
 ...
+#endif
+EXPORT_SYMBOL(ip6_dst_hoplimit);
I don't think the export should be outside of the #if region.

Did you test the build with IPV6 disabled?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help