]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: fail early when creating netdev named config
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 25 Jul 2014 22:25:10 +0000 (15:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 18:43:50 +0000 (11:43 -0700)
commit40279ecc3aa4c8e4ecf6fb30e4aaa950737ab235
tree8be53cca32ce634c291589f161684913f42432ac
parent2645da91080d914c8f12338e77c9cec541beb566
vlan: fail early when creating netdev named config

Similarly, vlan will create  /proc/net/vlan/<dev>, so when we
create dev with name "config", it will confict with
/proc/net/vlan/config.

Reported-by: Stephane Chazelas <stephane.chazelas@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c
net/8021q/vlanproc.c