diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2016-05-19 21:20:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-23 13:54:03 -0700 |
commit | 8da07a393f48864a87c61bb1dfbee640d9b97fd6 (patch) | |
tree | f78f9967a4109c2b9d751e84991ded81fb683f87 /kernel/bpf/inode.c | |
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>
Diffstat (limited to 'kernel/bpf/inode.c')
0 files changed, 0 insertions, 0 deletions