Home
last modified time | relevance | path

Searched hist:e74bad6b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.ce74bad6b Fri Mar 17 16:54:04 CDT 2017 Philippe Reynes <tremyfr@gmail.com> net: sun: sungem: rix a possible null dereference

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: 92552fdda557 ("net: sun: sungem: use new api
ethtool_{get|set}_link_ksettings")

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
e74bad6b Fri Mar 17 16:54:04 CDT 2017 Philippe Reynes <tremyfr@gmail.com> net: sun: sungem: rix a possible null dereference

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: 92552fdda557 ("net: sun: sungem: use new api
ethtool_{get|set}_link_ksettings")

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>