]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vti6: better validate user provided tunnel names
authorEric Dumazet <edumazet@google.com>
Thu, 5 Apr 2018 13:39:31 +0000 (06:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2018 19:16:15 +0000 (15:16 -0400)
commit537b361fbcbcc3cd6fe2bb47069fd292b9256d16
treedcd4df322c786cfd954ed1dd9e6de1d73b95e66d
parentdb7a65e3ab78e5b1c4b17c0870ebee35a4ee3257
vti6: better validate user provided tunnel names

Use valid_name() to make sure user does not provide illegal
device name.

Fixes: ed1efb2aefbb ("ipv6: Add support for IPsec virtual tunnel interfaces")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_vti.c