From: Kiernan George <kbg98@vt.edu>
To: netfilter@vger.kernel.org
Subject: ABI Breakage - nftnl_rule_parse_attr_cb
Date: Tue, 21 Jun 2022 20:07:24 +0000 [thread overview]
Message-ID: <fb274774-b42e-fce8-7018-2c21a93a4d38@vt.edu> (raw)
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.
Thanks,
Kiernan
next reply other threads:[~2022-06-21 20:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 20:07 Kiernan George [this message]
2022-06-22 7:36 ` ABI Breakage - nftnl_rule_parse_attr_cb Pablo Neira Ayuso
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=fb274774-b42e-fce8-7018-2c21a93a4d38@vt.edu \
--to=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.