Re: [PATCH nft v2] datatype: accept a numeric cgroupsv2 id on input
Avinash Duduskar <[email protected]> Fri, 31 Jul 2026 18:11:39 +0530
| Newsgroups | gmane.comp.security.firewalls.netfilter.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 31, 2026 at 01:53:52PM +0200, Pablo Neira Ayuso wrote: > Any reason to ignore the error that integer_type_parse() provides? No, it was left over from the strict parser that owned its own message. Nothing follows the call, so it reduces to a direct return and the hunk goes from ten added lines to two: + /* the listing prints a raw id once the path is gone */ if (stat(cgroupv2_path, &st) < 0) - return error(&sym->location, "cgroupv2 path fails: %s", - strerror(errno)); + return integer_type_parse(ctx, sym, res); v3 to follow. Avi