diff options
| author | Eric Dumazet <edumazet@google.com> | 2018-04-05 06:39:31 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:27 +0200 |
| commit | 1ad677cf551bb019d06dd2842e9972bd62c81d3d (patch) | |
| tree | 207f66bcd6a595b1496bc55e38b4aac59eb9ecd2 /net/tipc/net.c | |
| parent | f791712490719c61789a9676a3d5746cf9ad1e1f (diff) | |
vti6: better validate user provided tunnel names
[ Upstream commit 537b361fbcbcc3cd6fe2bb47069fd292b9256d16 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions
