All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Vinson <nvinson234@gmail.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH libnftnl] object: define nftnl_obj_unset()
Date: Wed, 3 Jan 2024 09:53:24 -0500	[thread overview]
Message-ID: <25d59855-3604-489c-b2d2-2b68e0bd72e7@gmail.com> (raw)
In-Reply-To: <ZZU3wJKLfQdmatV3@calendula>

On 1/3/24 05:32, Pablo Neira Ayuso wrote:

> 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?

A mistake on my part. I failed to revert to properly revert my patch 
before testing this change.

Everything looks good to me.

Thanks.

>
> Thanks.

      reply	other threads:[~2024-01-03 14:53 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
2024-01-03 14:53     ` Nicholas Vinson [this message]

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=25d59855-3604-489c-b2d2-2b68e0bd72e7@gmail.com \
    --to=nvinson234@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /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.