bridge: vlan: don't pass flags when creating context only
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 30 Sep 2015 18:16:55 +0000 (20:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2015 01:24:05 +0000 (18:24 -0700)
commit248234ca029710fbad6423c48f98c2a6ea9582fb
tree38d1c178777b62dec9eacea10a93d78dcaa7d24d
parent263344e64c0a2ac0e409a1a3f27effb6d57b853e
bridge: vlan: don't pass flags when creating context only

We should not pass the original flags when creating a context vlan only
because they may contain some flags that change behaviour in the bridge.
The new global context should be with minimal set of flags, so pass 0
and let br_vlan_add() set the master flag only.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c