]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 09:06:27 +0000 (10:06 +0100)
commiteb83542b81fa8bdbc20a0e69edafedce19aeaaf5
tree84ab69db95d407d89cf0ba0ef4c56a07837bc517
parentc07c93a6bac93cca369ecbaf655bf3bb9926d10f
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: Jiri Slaby <jslaby@suse.cz>
net/core/dev.c