aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip
diff options
context:
space:
mode:
authorPaul Durrant <pdurrant@amazon.com>2022-09-01 12:55:54 +0100
committerDavid S. Miller <davem@davemloft.net>2022-09-03 09:53:02 +0100
commitc55f34b6aec2a8cb47eadaffea773e83bf85de91 (patch)
tree165e6747dffa766401874c1361b148274313cdfd /drivers/net/dsa/microchip
parentnet: fec: Use a spinlock to guard `fep->ptp_clk_on` (diff)
downloadlinux-dev-c55f34b6aec2a8cb47eadaffea773e83bf85de91.tar.xz
linux-dev-c55f34b6aec2a8cb47eadaffea773e83bf85de91.zip
xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
Removing 'hotplug-status' in backend_disconnected() means that it will be removed even in the case that the frontend unilaterally disconnects (which it is free to do at any time). The consequence of this is that, when the frontend attempts to re-connect, the backend gets stuck in 'InitWait' rather than moving straight to 'Connected' (which it can do because the hotplug script has already run). Instead, the 'hotplug-status' mode should be removed in netback_remove() i.e. when the vif really is going away. Fixes: 0f4558ae9187 ("Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"") Signed-off-by: Paul Durrant <pdurrant@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions