Skip to content
Commit 18c0bd68 authored by Parav Pandit's avatar Parav Pandit Committed by Greg Kroah-Hartman
Browse files

virtio-net: Maintain reverse cleanup order

[ Upstream commit 27369c9c

 ]

To easily audit the code, better to keep the device stop()
sequence to be mirror of the device open() sequence.

Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 5306623a

 ("virtio_net: Fix error unwinding of XDP initialization")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cdd8160d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment