aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAmir Shehata <[email protected]>2016-02-22 17:29:04 -0500
committerGreg Kroah-Hartman <[email protected]>2016-02-22 18:05:49 -0800
commit8766cd12e41539cfe97025adbe2ef45ffe0e0bc2 (patch)
treec75d853da565a93022063c381f4b7463a358f467 /tools/perf/scripts/python/netdev-times.py
parent2e9a51bdb29edba57bfa9f674adf46044529740b (diff)
staging: lustre: fix crash due to NULL networks string
If there is an invalid networks or ip2nets lnet_parse_networks() gets called with a NULL 'network' string parameter lnet_parse_networks() needs to sanitize its input string now that it's being called from multiple places. Instead, check for a NULL string everytime the function is called, which reduces the probability of errors with other code modifications. Signed-off-by: Amir Shehata <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5540 Reviewed-on: http://review.whamcloud.com/11626 Reviewed-by: Isaac Huang <[email protected]> Reviewed-by: Doug Oucharek <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions