aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-10-10 09:16:23 -0700
committerDavid S. Miller <[email protected]>2017-10-10 13:18:33 -0700
commit5f0ca2fb71e28df146f590eebfe32b41171b737f (patch)
tree97ba442e53e8eb00ea1527077fbd67c3179c5a32 /tools/perf/scripts/python/syscall-counts.py
parentc3d64ad4fea66d07e878b248b803ccd12c45e18c (diff)
nfp: handle page allocation failures
page_address() does not handle NULL argument gracefully, make sure we NULL-check the page pointer before passing it to page_address(). Fixes: ecd63a0217d5 ("nfp: add XDP support in the driver") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions