[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190208.154244.1158349966768699281.davem@davemloft.net>
Date: Fri, 08 Feb 2019 15:42:44 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: linux@...linux.org.uk
Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com,
hkallweit1@...il.com
Subject: Re: [PATCH] net: sfp: do not probe SFP module before we're attached
From: Russell King - ARM Linux admin <linux@...linux.org.uk>
Date: Fri, 8 Feb 2019 23:36:51 +0000
> On Fri, Feb 08, 2019 at 03:11:39PM -0800, David Miller wrote:
>> From: Russell King <rmk+kernel@...linux.org.uk>
>> Date: Wed, 06 Feb 2019 10:52:30 +0000
>>
>> > When we probe a SFP module, we expect to be able to call the upstream
>> > device's module_insert() function so that the upstream link can be
>> > configured. However, when the upstream device is delayed, we currently
>> > may end up probing the module before the upstream device is available,
>> > and lose the module_insert() call.
>> >
>> > Avoid this by holding off probing the module until the SFP bus is
>> > properly connected to both the SFP socket driver and the upstream
>> > driver.
>> >
>> > Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
>>
>> Applied, thanks Russell.
>>
>> -stable?
>
> Yes please. Would you like me to mail the stable team once it hits
> mainline?
Networking -stable submissions are handled purely by me, so no you don't
need to do that.
I've queued this one up, thanks.
Thanks.
Powered by blists - more mailing lists