• Michael S. Tsirkin's avatar
    macvlan: validate flags · 15127478
    Michael S. Tsirkin authored
    commit df8ef8f3
        macvlan: add FDB bridge ops and macvlan flags
    added a flags field to macvlan, which can be
    controlled from userspace.
    The idea is to make the interface future-proof
    so we can add flags and not new fields.
    
    However, flags value isn't validated, as a result,
    userspace can't detect which flags are supported.
    
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: John Fastabend <john.r.fastabend@intel.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    15127478
macvlan.c 26 KB