summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2014-07-25 15:25:09 -0700
committerDavid S. Miller <davem@davemloft.net>2014-07-29 11:43:50 -0700
commita317a2f19da7d0af1f068cf4d3ae80cdd73643b7 (patch)
treea083ff1e4f31c60bd53c9c37086cd347478b2ad6 /net/8021q/vlan.c
parent20e61da7ffcfd84a1b6f797e745608572e5bc218 (diff)
downloadlinux-a317a2f19da7d0af1f068cf4d3ae80cdd73643b7.tar.bz2
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>
Diffstat (limited to 'net/8021q/vlan.c')
0 files changed, 0 insertions, 0 deletions