commit | 8da07a393f48864a87c61bb1dfbee640d9b97fd6 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Thu May 19 21:20:55 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 23 13:54:03 2016 -0700 |
tree | f78f9967a4109c2b9d751e84991ded81fb683f87 | |
parent | c685293aa379b9d17e44fcc2f96a402b7648e838 [diff] |
net: hns: avoid null pointer dereference In the statement assert(priv || priv->ae_handle); the right side of || is only evaluated if priv is null. v2: As suggested by David Leight and David Miller the assert statements are removed. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>