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 Applied and queued up for -stable.

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 Fixes: ce0aa27ff3f6 ("sfp: add sfp-bus to b