[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140724.233254.1343189609913837881.davem@davemloft.net>
Date: Thu, 24 Jul 2014 23:32:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, stephane.chazelas@...il.com
Subject: Re: [Patch net-next 0/3] net: forbid net devices named "all"
"default" or "config"
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Wed, 23 Jul 2014 15:17:29 -0700
> /proc/sys/net/ipv[46]/conf/<dev> could conflict with
> /proc/sys/net/ipv[46]/conf/(all|default). And /proc/net/vlan/<dev>
> could conflict with /proc/net/vlan/config. Besides kernel warnings,
> undefined behavior such as duplicated proc files also appears, therefore
> we should forbid these names.
>
> Cong Wang (3):
> ipv4: fail early when creating netdev named all or default
> ipv6: fail early when creating netdev named all or default
> vlan: fail early when creating netdev named config
As suggested, please make a common helper for ipv4/ipv6, the restrictions
are identical currently.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists