All of lore.kernel.org
 help / color / mirror / Atom feed
* ABI Breakage - nftnl_rule_parse_attr_cb
@ 2022-06-21 20:07 Kiernan George
  2022-06-22  7:36 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Kiernan George @ 2022-06-21 20:07 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-22 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21 20:07 ABI Breakage - nftnl_rule_parse_attr_cb Kiernan George
2022-06-22  7:36 ` 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

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.