aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-04-05 06:39:26 -0700
committerDavid S. Miller <[email protected]>2018-04-05 15:16:15 -0400
commita9d48205d0aedda021fc3728972a9e9934c2b9de (patch)
treece46b423aca75ded37bd178fa505270dd6454e42 /tools/perf/scripts/python/export-to-sqlite.py
parent06dd3dfeea60e2a6457a6aedf97afc8e6d2ba497 (diff)
net: fool proof dev_valid_name()
We want to use dev_valid_name() to validate tunnel names, so better use strnlen(name, IFNAMSIZ) than strlen(name) to make sure to not upset KASAN. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions