Merge branch 'virtio-net-synchronize-op-admin-state'
authorJakub Kicinski <kuba@kernel.org>
Fri, 16 Aug 2024 02:14:36 +0000 (19:14 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Aug 2024 02:14:36 +0000 (19:14 -0700)
Jason Wang says:

====================
virtio-net: synchronize op/admin state

This series tries to synchronize the operstate with the admin state
which allows the lower virtio-net to propagate the link status to the
upper devices like macvlan.

This is done by toggling carrier during ndo_open/stop while doing
other necessary serialization about the carrier settings during probe.

While at it, also fix a race between probe and ndo_set_features as we
didn't initalize the guest offload setting under rtnl lock.
====================

Link: https://patch.msgid.link/20240814052228.4654-1-jasowang@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge