Re: [PATCH net] sfp: fix sfp-bus oops when removing socket/upstream

2018-01-02 Thread David Miller
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

Re: [PATCH net] sfp: fix sfp-bus oops when removing socket/upstream

2017-12-27 Thread Florian Fainelli
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

[PATCH net] sfp: fix sfp-bus oops when removing socket/upstream

2017-12-26 Thread Russell King
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