Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717853

Re: [PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY
Date 2017-08-22 23:30 +0200
Message-ID <uhoUi-82K-23@gated-at.bofh.it> (permalink)
References <uhb0Z-6Xp-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andrew Jeffery <andrew@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@aj.id.au>

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY Andrew Jeffery <andrew@aj.id.au> - 2017-08-22 08:40 +0200
  Re: [PATCH] net: ftgmac100: Fix oops in probe on failure to find  associated PHY Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-08-22 19:10 +0200
  Re: [PATCH] net: ftgmac100: Fix oops in probe on failure to find  associated PHY David Miller <davem@davemloft.net> - 2017-08-22 23:30 +0200

csiph-web