aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-02-13 11:56:50 +0300
committerDavid S. Miller <[email protected]>2019-02-13 22:13:29 -0800
commit4446eb8dbeb223031fb652dd1e58e59d3d4b4aba (patch)
tree1f482431de21a4480dcb6accb19886058f160e46 /tools/perf/scripts/python/net_dropmonitor.py
parentf8b1f9f6459c8274865ef819bdedead577096254 (diff)
lib: objagg: Fix an error code in objagg_hints_get()
We need to set the error code on this path otherwise we return ERR_PTR(0) which would result in a NULL dereference in the caller. Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and use hints for object creation") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions