]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:48:02 +0000 (08:48 +0100)
commit842801181864690fdcde73b017cce4c1353a7083
tree7aee539a2247e39643411bf7a3cb28b43ca7ebf6
parenta8604a90e1dbdbb00b60d1df5159ed8025059dcc
vlan: introduce vlan_dev_free_egress_priority

commit 37aa50c539bcbcc01767e515bd170787fcfc0f33 upstream.

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>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/8021q/vlan.h
net/8021q/vlan_dev.c
net/8021q/vlan_netlink.c