From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Wed, 24 Feb 2021 19:08:51 +0100 Subject: [PATCH 4/4] net: dsa: remove master santiy check In-Reply-To: <20210224174556.7wxo2ucmq7gu7shm@skbuf> References: <20210224164042.21747-1-michael@walle.cc> <20210224164042.21747-5-michael@walle.cc> <20210224171111.lqzq3gpiqf4fkm4e@skbuf> <46b918d16c0e79f1b0bff538c9b28f69@walle.cc> <20210224174556.7wxo2ucmq7gu7shm@skbuf> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 2021-02-24 18:45, schrieb Vladimir Oltean: > On Wed, Feb 24, 2021 at 06:29:39PM +0100, Michael Walle wrote: >> What is the reason to remove that device in the first place? Like is >> this really a valid scenario? I really don't know when a device is >> removed and if its remove, will it still be there or is it rather >> a hot-plug type and rebinding it won't work anyways. > > Did you get this to crash under any circumstance other than using the > 'unbind' command? Nope, thus I was curious about that comment in dsa_port_stop(). Someone (Alex, Claudiu maybe?) must have something in mind when writing about it. But I couldn't figure out in which case a device is removed. -michael