aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/netdev-times-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-09-07 17:23:09 +0100
committerGreg Kroah-Hartman <[email protected]>2016-09-12 11:18:15 +0200
commit8defffb20854500825162d336bdd183d2d218cf9 (patch)
tree131bd2259608db5a35aa6de9f2e634f5e803445c /tools/perf/scripts/python/bin/netdev-times-record
parentf5dc9399c07ee141924bcdccfeeacd7597a44cfe (diff)
staging: ks7010: avoid dereferencing packet if it is null
Updating tx_bytes from packet->len if packet is null will cause a null pointer dereference, so only update tx_bytes if it packet is not null. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions