Re: [PATCH v2] net: sun: sungem: rix a possible null dereference
From: David Miller
Date: Thu Mar 16 2017 - 23:50:40 EST
From: Philippe Reynes <tremyfr@xxxxxxxxx>
Date: Wed, 15 Mar 2017 22:51:13 +0100
> The function gem_begin_auto_negotiation dereference
> the pointer ep before testing if it's null. This
> patch add a check on ep before dereferencing it.
>
> Fixes: 92552fdd557 ("net: sun: sungem: use new api
[davem@localhost net-next]$ git describe 92552fdd557
fatal: Not a valid object name 92552fdd557
[davem@localhost net-next]$
I don't know where you got that SHA1-ID, but it's not the one that
was actually used.
It is advised that you use Linus's or one of my GIT trees to find the
proper commit IDs.