[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191105.175516.1095237130960059082.davem@davemloft.net>
Date: Tue, 05 Nov 2019 17:55:16 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, rmk+kernel@...linux.org.uk,
hkallweit1@...il.com, andrew@...n.ch, vivien.didelot@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: bcm_sf2: Fix driver removal
From: Florian Fainelli <f.fainelli@...il.com>
Date: Sat, 2 Nov 2019 20:17:39 -0700
> With the DSA core doing the call to dsa_port_disable() we do not need to
> do that within the driver itself. This could cause an use after free
> since past dsa_unregister_switch() we should not be accessing any
> dsa_switch internal structures.
>
> Fixes: 0394a63acfe2 ("net: dsa: enable and disable all ports")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied.
Powered by blists - more mailing lists