]> git.baikalelectronics.ru Git - kernel.git/commit
funeth: unregister devlink port after netdevice unregister
authorJiri Pirko <jiri@nvidia.com>
Mon, 26 Sep 2022 11:09:36 +0000 (13:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 14:54:44 +0000 (07:54 -0700)
commitdfe60949147627f22ec67084af09b3c460339dd0
tree631864f055453e24446979e9967176c0802bf01d
parent73dfe93ea1b319482e6d82a54fe06f953ceeeccb
funeth: unregister devlink port after netdevice unregister

Fix the order of destroy_netdev() flow and unregister the devlink port
after calling unregister_netdev().

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/fungible/funeth/funeth_main.c