]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'netdev-name'
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 18:43:58 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 18:43:58 +0000 (11:43 -0700)
commit3b64d7e1b4baeb2e972abfafdec8b596119e5a6d
tree8be53cca32ce634c291589f161684913f42432ac
parent35504e2a23e92cc92e26c92c54c435b89b32f9d0
parent25eb7c87251205fb32d201b04d4aa16c70aaf1ad
Merge branch 'netdev-name'

Cong Wang says:

====================
net: forbid net devices named "all" "default" or "config"

/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.

v2: introduce a helper function, suggested by Florian
    fix error handling for ipv6_add_dev() in addrconf_init()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>