bridge: add br_vlan_get_proto()
authorwenxu <wenxu@ucloud.cn>
Fri, 5 Jul 2019 13:16:36 +0000 (21:16 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Jul 2019 19:34:50 +0000 (21:34 +0200)
commit31aed46fedbba65abece57e14d24f00b52389c4f
tree4ad82439952051cb67d222787c1f0347188fab4d
parentc54c7c685494fc0f1662091d4d0c4fc26e810471
bridge: add br_vlan_get_proto()

This new function allows you to fetch the bridge port vlan protocol.

Signed-off-by: wenxu <wenxu@ucloud.cn>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/if_bridge.h
net/bridge/br_vlan.c