]> 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)
commit37aa50c539bcbcc01767e515bd170787fcfc0f33
tree71e002346f5bde8ea5c55d47ae22fd1aea0e145b
parentfeef318c855a361a1eccd880f33e88c460eb63b4
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