[PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY
David Miller
davem at davemloft.net
Wed Aug 23 07:20:14 AEST 2017
From: Andrew Jeffery <andrew at aj.id.au>
Date: Tue, 22 Aug 2017 16:06:22 +0930
> netif_napi_del() should be paired with netif_napi_add(), however no
> such call takes place in ftgmac100_probe(). This triggers a NULL
> pointer dereference if e.g. no PHY is found by the MDIO probe:
...
> Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
Applied, thanks.
More information about the openbmc
mailing list