]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: introduce vlan_dev_free_egress_priority
authorXin Long <lucien.xin@gmail.com>
Wed, 9 Feb 2022 08:19:55 +0000 (03:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2022 13:33:39 +0000 (13:33 +0000)
commit25002154c9198aed7faa46619c71c72ba4f6116d
tree71e002346f5bde8ea5c55d47ae22fd1aea0e145b
parent09e58ade8c3c73b663560e87377a5fc8a56a745d
vlan: introduce vlan_dev_free_egress_priority

This patch is to introduce vlan_dev_free_egress_priority() to
free egress priority for vlan dev, and keep vlan_dev_uninit()
static as .ndo_uninit. It makes the code more clear and safer
when adding new code in vlan_dev_uninit() in the future.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.h
net/8021q/vlan_dev.c
net/8021q/vlan_netlink.c