Re: [LTP] [PATCH v2 5/5] Add test for CVE 2023-31248

Petr Vorel
2023-11-14T15:39:24Z

Hi Martin,

...
> +++ b/testcases/network/iptables/nft02.c
...
> +/* Chain creation and deletion config */
> +static const struct tst_netlink_attr_list newchain_config[] = {
> + {NFTA_TABLE_NAME, TABNAME, strlen(TABNAME) + 1, NULL},
> + {NFTA_CHAIN_NAME, CHAINNAME, strlen(CHAINNAME) + 1, NULL},
> + {NFTA_CHAIN_ID, &chain_id, sizeof(chain_id), NULL},

Unfortunately the current oldest distros (Leap 42 and Ubuntu Bionic) are too old
for NFTA_CHAIN_ID, NFTA_RULE_CHAIN_ID, could you please add them to LAPI?

Otherwise the patchset looks ok.

Kind regards,
Petr