]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita19f0a86b2ab704f378c0fb14dfd98c53d1b5607
tree38d1c178777b62dec9eacea10a93d78dcaa7d24d
parent4a9e045e2799e580cdb20d268b83199dce82362c
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