aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-04-05 06:39:26 -0700
committerDavid S. Miller <davem@davemloft.net>2018-04-05 15:16:15 -0400
commita9d48205d0aedda021fc3728972a9e9934c2b9de (patch)
treece46b423aca75ded37bd178fa505270dd6454e42 /net/ipv6
parentMerge tag 'char-misc-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc (diff)
downloadlinux-dev-a9d48205d0aedda021fc3728972a9e9934c2b9de.tar.xz
linux-dev-a9d48205d0aedda021fc3728972a9e9934c2b9de.zip
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 'net/ipv6')
0 files changed, 0 insertions, 0 deletions