Files
twx-linux/net/core
Eric Dumazet 954d71e7c6 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-13 19:50:26 +02:00
..
2018-04-13 19:50:26 +02:00
…
2018-02-03 17:04:25 +01:00
…
2018-02-25 11:03:34 +01:00
…
…
…
…
…
…