Home
last modified time | relevance | path

Searched hist:a317a2f19da7d0af1f068cf4d3ae80cdd73643b7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Daddrconf.cdiff a317a2f19da7d0af1f068cf4d3ae80cdd73643b7 Fri Jul 25 17:25:09 CDT 2014 WANG Cong <xiyou.wangcong@gmail.com> ipv6: fail early when creating netdev named all or default

We create a proc dir for each network device, this will cause
conflicts when the devices have name "all" or "default".

Rather than emitting an ugly kernel warning, we could just
fail earlier by checking the device name.

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>