]> git.hungrycats.org Git - linux/commit
net: reject creation of netdev names with colons
authorMatthew Thode <mthode@mthode.org>
Wed, 18 Feb 2015 00:31:57 +0000 (18:31 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:10:50 +0000 (14:10 +0100)
commit465146d28c3173d31229df1cf53a4696360a399d
treece410d181345989f4823ee6d28603a89f9c296da
parent9d0ba3cf285bc815de7d4cf3fc2bf9fe4d4e5c5c
net: reject creation of netdev names with colons

[ Upstream commit a4176a9391868bfa87705bcd2e3b49e9b9dd2996 ]

colons are used as a separator in netdev device lookup in dev_ioctl.c

Specific functions are SIOCGIFTXQLEN SIOCETHTOOL SIOCSIFNAME

Signed-off-by: Matthew Thode <mthode@mthode.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/dev.c