bridge: Add a default_pvid sysfs attribute
authorVlad Yasevich <vyasevich@gmail.com>
Fri, 3 Oct 2014 15:29:16 +0000 (11:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:21:36 +0000 (21:21 -0400)
commit96a20d9d7fff7068a2233b00379f0778a150bf86
tree21abf27f7f18b540f65770d2877c938735b02afe
parente885439f37b0dce404291350f7c0368c2bb97cdb
bridge: Add a default_pvid sysfs attribute

This patch allows the user to set and retrieve default_pvid
value.  A new value can only be stored when vlan filtering
is disabled.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h
net/bridge/br_sysfs_br.c
net/bridge/br_vlan.c