]> git.itanic.dy.fi Git - linux-stable/commit
virtio-net: Maintain reverse cleanup order
authorParav Pandit <parav@nvidia.com>
Fri, 3 Feb 2023 13:37:38 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2023 08:55:06 +0000 (08:55 +0000)
commit27369c9c2b722617063d6b80c758ab153f1d95d4
tree2893654d229dd360a3e440c28405c40e990070fd
parentcb3086cee65646b05d6ea62398a70d46ec0573be
virtio-net: Maintain reverse cleanup order

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

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c