]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: Extend br_vlan_get_pvid() for bridge ports
authorIdo Schimmel <idosch@mellanox.com>
Wed, 28 Nov 2018 20:06:58 +0000 (20:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Dec 2018 01:06:28 +0000 (17:06 -0800)
commitdb3479bbc7a6c64b2b4177870f00a237e19bc497
tree263cf8f434480df60eb357309a99a7950a0e7a9a
parent707e948e84200f809112566619ae850769cc120e
net: bridge: Extend br_vlan_get_pvid() for bridge ports

Currently, the function only works for the bridge device itself, but
subsequent patches will need to be able to query the PVID of a given
bridge port, so extend the function.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c