<html>
<head>
<base href="https://bugzilla.netfilter.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Set clone functions not exported."
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1690#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Set clone functions not exported."
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1690">bug 1690</a>
from <span class="vcard"><a class="email" href="mailto:bugs@phlexo.com" title="Phil S <bugs@phlexo.com>"> <span class="fn">Phil S</span></a>
</span></b>
<pre>Here's a patch which fixes the issue. I tried to add it as an attachment but it
responds with a 403 Forbidden.
--- src/set.c
+++ src/set.c
@@ -352,6 +352,7 @@ uint64_t nftnl_set_get_u64(const struct nftnl_set *s,
uint16_t attr)
return val ? *val : 0;
}
+EXPORT_SYMBOL(nftnl_set_clone)
struct nftnl_set *nftnl_set_clone(const struct nftnl_set *set)
{
struct nftnl_set *newset;
--- src/set_elem.c
+++ src/set_elem.c
@@ -278,6 +278,7 @@ uint64_t nftnl_set_elem_get_u64(struct nftnl_set_elem *s,
uint16_t attr)
return val;
}
+EXPORT_SYMBOL(nftnl_set_elem_clone);
struct nftnl_set_elem *nftnl_set_elem_clone(struct nftnl_set_elem *elem)
{
struct nftnl_set_elem *newelem;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>