diff options
author | 2019-07-21 01:37:31 -0500 | |
---|---|---|
committer | 2019-07-21 11:47:30 -0700 | |
commit | bb1320834b8a80c6ac2697ab418d066981ea08ba (patch) | |
tree | ce284a36b9f25ceb45f34f2fe51116e2d98d773e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: hns3: typo in the name of a constant (diff) | |
download | wireguard-linux-bb1320834b8a80c6ac2697ab418d066981ea08ba.tar.xz wireguard-linux-bb1320834b8a80c6ac2697ab418d066981ea08ba.zip |
allocate_flower_entry: should check for null deref
allocate_flower_entry does not check for allocation success, but tries
to deref the result. I only moved the spin_lock under null check, because
the caller is checking allocation's status at line 652.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions