Re: [RESEND PATCH] net: macb: fix NULL dereference due to no pcs_config method

From: Jakub Kicinski
Date: Sat Nov 07 2020 - 16:24:55 EST


On Fri, 6 Nov 2020 10:26:59 +0100 Nicolas Ferre wrote:
> On 05/11/2020 at 18:58, Parshuram Thombare wrote:
> > This patch fixes NULL pointer dereference due to NULL pcs_config
> > in pcs_ops.
> >
> > Reported-by: Nicolas Ferre <Nicolas.Ferre@xxxxxxxxxxxxx>
> > Link: https://lore.kernel.org/netdev/2db854c7-9ffb-328a-f346-f68982723d29@xxxxxxxxxxxxx/
> > Signed-off-by: Parshuram Thombare <pthombar@xxxxxxxxxxx>
>
> Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

Applied.

I brought back the fixes tag from the first posting. It's entirely
reasonable to add fixes tags from the tree you're targeting as long
as that tree guarantees commit hashes are stable and won't change on
their way upstream. Which is the case for net and net-next trees.

Thanks!