Files
linux/net/core
Eric Dumazet 048a64fbc2 net: fool proof dev_valid_name()
[ Upstream commit a9d48205d0 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-12 12:32:25 +02:00
..
2018-04-12 12:32:25 +02:00
2017-03-12 23:47:16 -07:00
2018-01-31 14:03:50 +01:00
2017-08-18 22:38:47 -07:00
2018-02-22 15:42:23 +01:00