net: reject creation of netdev names with colons
authorMatthew Thode <mthode@mthode.org>
Wed, 18 Feb 2015 00:31:57 +0000 (18:31 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Feb 2015 02:45:25 +0000 (21:45 -0500)
commita4176a9391868bfa87705bcd2e3b49e9b9dd2996
tree03d617339ea5e540b5ca5951b2654efd55d44251
parentddede6d536d70c4ef2193ca14208db90740fcd22
net: reject creation of netdev names with colons

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>
net/core/dev.c