Re: [PATCH net] net: avoid vlan ptype specific match to be leaked on real device

Paolo Abeni
2016-06-27T09:28:36Z

On Sun, 2016-06-26 at 16:06 -0400, David Miller wrote:
> From: Jiri Pirko <jiri@resnulli.us>
> Date: Wed, 22 Jun 2016 14:40:50 +0200
>
> > The patch only unified the behaviour so everyone know what to expect
> > regardless of the device type.
>
> +1
>
> And reverting this behavior back is going to hurt more people than it
> will help, so I am not going to apply this, sorry.

Would a /proc/net/vlan sysctl to control the switch from the new to the
old behavior (with default to the new) make this acceptable ?

Recent users will not be affected, and users of the old behavior could
manage kernel upgrade without breaking their applications.

Thank you,

Paolo