]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_tunnel: better validate user provided tunnel names
authorEric Dumazet <edumazet@google.com>
Thu, 5 Apr 2018 13:39:30 +0000 (06:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2018 19:16:15 +0000 (15:16 -0400)
commit80c30beb636ac09fbdaf141191b2009e59ad1b1b
tree08760c2cc85ab1d65a4a8ac1c1c22d490d27325a
parent9e2eea7f2d4f2817bc72f8eed6e674b733d4fc81
ip6_tunnel: better validate user provided tunnel names

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

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c