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

From: Jakub Kicinski

Date: Tue Nov 04 2025 - 22:07:58 EST


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.