From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Kiernan George <kbg98@vt.edu>
Cc: netfilter@vger.kernel.org
Subject: Re: ABI Breakage - nftnl_rule_parse_attr_cb
Date: Wed, 22 Jun 2022 09:36:43 +0200 [thread overview]
Message-ID: <YrLGi2k9+PvMJepi@salvia> (raw)
In-Reply-To: <fb274774-b42e-fce8-7018-2c21a93a4d38@vt.edu>
On Tue, Jun 21, 2022 at 08:07:24PM +0000, Kiernan George wrote:
> Hi,
>
> I am getting an ABI breakage error at these lines in rule.c:
>
> case NFTA_RULE_HANDLE:
> if (mnl_attr_validate(attr, MNL_TYPE_U64) < 0)
> abi_breakage();
> break;
>
> It only seems to happen when I set the flag NLM_F_ECHO in
> nftnl_rule_nlmsg_build_hdr. I want to hold onto the rule handle of the
> returned rule, which is why I set it to echo. This error was not affecting
> me in Ubuntu 20.04, but started as soon as I upgraded to 22.04. I am running
> Linux kernel version 5.15.0-39-generic with libnftnl-dev version
> 1.2.1-1build1.
That's very strange. Could you post a sample code?
next prev parent reply other threads:[~2022-06-22 7:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 20:07 ABI Breakage - nftnl_rule_parse_attr_cb Kiernan George
2022-06-22 7:36 ` Pablo Neira Ayuso [this message]
2022-06-22 13:24 ` Kiernan George
2022-06-22 15:31 ` Pablo Neira Ayuso
2022-06-22 15:55 ` Florian Westphal
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=YrLGi2k9+PvMJepi@salvia \
--to=pablo@netfilter.org \
--cc=kbg98@vt.edu \
--cc=netfilter@vger.kernel.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.