Subject: Re: [PATCH] macvlan: validate flags

From: Sergei Shtylyov <[email-masked]>
Date: Thu, 01 Aug 2013 18:36:05 +0400

Hello.

On 01-08-2013 14:48, Michael S. Tsirkin wrote:

> commit df8ef8f3aaa6692970a436204c4429210addb23a

    Please also specify that commit's summary line in parens.
This is the only way to uniquely identify the commit, and it's the requirement 
that came originally from Linus AFAIK.

> 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" <[email-masked]>
> CC: Roopa Prabhu <[email-masked]>
> Cc: John Fastabend <[email-masked]>
> Signed-off-by: Michael S. Tsirkin <[email-masked]>

WBR, Sergei