From: Russell King
Date: Tue, 26 Dec 2017 23:15:17 +
> When we remove a socket or upstream, and the other side isn't
> registered, we dereference a NULL pointer, causing a kernel oops.
> Fix this.
>
> Signed-off-by: Russell King
Applied and queued up for -stable.
On 12/26/2017 03:15 PM, Russell King wrote:
> When we remove a socket or upstream, and the other side isn't
> registered, we dereference a NULL pointer, causing a kernel oops.
> Fix this.
>
> Signed-off-by: Russell King
Reviewed-by: Florian Fainelli
Fixes: ce0aa27ff3f6 ("sfp: add sfp-bus to b
When we remove a socket or upstream, and the other side isn't
registered, we dereference a NULL pointer, causing a kernel oops.
Fix this.
Signed-off-by: Russell King
---
drivers/net/phy/sfp-bus.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/sfp-bus.c