ABI Breakage - nftnl_rule_parse_attr_cb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux