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 05:56:14
From: David Miller <davem@davemloft.net>
Date: 2013-08-31 05:56:14
From: Cong Wang <redacted> Date: Sat, 31 Aug 2013 13:07:34 +0800
On Sat, 2013-08-31 at 00:59 -0400, David Miller wrote:quoted
From: Cong Wang <redacted> Date: Sat, 31 Aug 2013 11:07:18 +0800quoted
@@ -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)...quoted
+#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?Yes, but it didn't show me any error.
Weird, please correct this anyways. Thanks.