]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "vlan: move dev_put into vlan_dev_uninit"
authorXin Long <lucien.xin@gmail.com>
Wed, 23 Feb 2022 04:54:57 +0000 (23:54 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Feb 2022 23:21:13 +0000 (15:21 -0800)
commit2d6eba54aad8db9bdcc4174282ac648b264d1bc2
treeccd6f275ff78014f69f7217f47797173c868c3c6
parent1a8fa62a8bd017061241410b5103c9ef2cce0ad8
Revert "vlan: move dev_put into vlan_dev_uninit"

This reverts commit e6a71f2f7d4c85c28ff984d7171739c89c3a409f.

Since commit 9c0e24941de2 ("net: allow out-of-order netdev unregistration")
fixed the issue in a better way, this patch is to revert the previous fix,
as it might bring back the old problem fixed by commit 52f553199741 ("net:
vlan: fix a UAF in vlan_dev_real_dev()").

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/563c0a6e48510ccbff9ef4715de37209695e9fc4.1645592097.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/8021q/vlan_dev.c