[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f42951ae-bbca-bd19-d2aa-e82a6e6d5396@suse.com>
Date: Wed, 14 Sep 2022 11:45:14 +0200
From: Juergen Gross <jgross@...e.com>
To: Paul Durrant <pdurrant@...zon.com>, netdev@...r.kernel.org,
xen-devel@...ts.xenproject.org
Cc: Wei Liu <wei.liu@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Marek Marczykowski-Górecki
<marmarek@...isiblethingslab.com>
Subject: Re: [PATCH net] xen-netback: only remove 'hotplug-status' when the
vif is actually destroyed
On 01.09.22 13:55, Paul Durrant wrote:
> 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@...zon.com>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3099 bytes)
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists