diff options
author | Eric Dumazet <edumazet@google.com> | 2018-04-05 16:39:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-05 22:16:15 +0300 |
commit | a9d48205d0aedda021fc3728972a9e9934c2b9de (patch) | |
tree | ce46b423aca75ded37bd178fa505270dd6454e42 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 06dd3dfeea60e2a6457a6aedf97afc8e6d2ba497 (diff) | |
download | linux-a9d48205d0aedda021fc3728972a9e9934c2b9de.tar.xz |
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions