From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Nicholas Vinson <nvinson234@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH libnftnl] object: define nftnl_obj_unset()
Date: Wed, 3 Jan 2024 11:32:32 +0100 [thread overview]
Message-ID: <ZZU3wJKLfQdmatV3@calendula> (raw)
In-Reply-To: <20240102175058.24570-1-nvinson234@gmail.com>
Hi Nicholas,
On Tue, Jan 02, 2024 at 12:50:58PM -0500, Nicholas Vinson wrote:
> I manually applied this patch and got the following build error:
>
> error: use of undeclared identifier 'nftnl_obj_unset'; did you mean
> 'nftnl_obj_set'
>
> I think a declaration for nftnl_obj_unset() needs to be added to
> include/libnftnl/object.h. Other than that, this patch looks OK to me.
$ git grep nftnl_obj_unset
include/libnftnl/object.h:void nftnl_obj_unset(struct nftnl_obj *ne, uint16_t attr);
src/libnftnl.map: nftnl_obj_unset;
src/object.c:EXPORT_SYMBOL(nftnl_obj_unset);
src/object.c:void nftnl_obj_unset(struct nftnl_obj *obj, uint16_t attr
the header file already has a declaration for this (which was part of
5573d0146c1a ("src: support for stateful objects").
What is missing then?
Thanks.
next prev parent reply other threads:[~2024-01-03 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-02 13:25 [PATCH libnftnl] object: define nftnl_obj_unset() Pablo Neira Ayuso
2024-01-02 17:50 ` Nicholas Vinson
2024-01-03 10:32 ` Pablo Neira Ayuso [this message]
2024-01-03 14:53 ` Nicholas Vinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZZU3wJKLfQdmatV3@calendula \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=nvinson234@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.