Subject: Re: [PATCH net-next v2 04/11] netlink: specs: add specification for wireguard

From: Jakub Kicinski <[email-masked]>
Date: Tue, 4 Nov 2025 19:07:56 -0800

On Fri, 31 Oct 2025 16:05:30 +0000 Asbjørn Sloth Tønnesen wrote:
> +        name: flags
> +        doc: |
> +          ``0`` or ``WGDEVICE_F_REPLACE_PEERS`` if all current peers
> +          should be removed prior to adding the list below.
> +        type: u32
> +        enum: wgdevice-flags
> +        checks:
> +          flags-mask: wgdevice-flags

The checks: should not be necessary if the enum is specified and it is
itself of type: flags.