[PATCH net 2/4] tools: ynl-gen: use macro for binary min-len check
Jakub Kicinski
kuba at kernel.org
Mon Sep 1 18:52:08 UTC 2025
On Mon, 1 Sep 2025 14:50:21 +0000 Asbjørn Sloth Tønnesen wrote:
> This patch changes the generated min-len check for binary
> attributes to use the NLA_POLICY_MIN_LEN() macro, and thereby
> ensures that .validation_type is not left at NLA_VALIDATE_NONE.
Please test this well and include the results in the commit message.
I'm pretty sure it's fine as is.
More information about the WireGuard
mailing list