From: WANG Cong Date: Fri, 25 Jul 2014 22:25:08 +0000 (-0700) Subject: ipv4: fail early when creating netdev named all or default X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e61da7ffcfd84a1b6f797e745608572e5bc218;p=pandora-kernel.git ipv4: 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 Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed