aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2019-07-21 06:37:31 +0000
committerDavid S. Miller <[email protected]>2019-07-21 18:47:30 +0000
commitbb1320834b8a80c6ac2697ab418d066981ea08ba (patch)
treece284a36b9f25ceb45f34f2fe51116e2d98d773e /tools/perf/scripts/python
parentnet: hns3: typo in the name of a constant (diff)
downloadkernel-bb1320834b8a80c6ac2697ab418d066981ea08ba.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions