mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ip6_tunnel: better validate user provided tunnel names
commitdb7a65e3abupstream. Use valid_name() to make sure user does not provide illegal device name. Fixes:1da177e4c3("Linux-2.6.12-rc2") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: - Don't touch err as ip6_tnl_create() does not return an error code - Adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
d521034ca1
commit
f8852307d3
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue