net: rtnetlink - make create_link take name_assign_type
authorTom Gundersen <teg@jklm.no>
Mon, 14 Jul 2014 14:37:25 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:13:07 +0000 (16:13 -0700)
commit5517750f058edd111bcabe5e116056cc63b1f39c
tree200173a4d60aa65dc22ece6efa83b8e0f5dd2a29
parentc835a677331495cf137a7f8a023463afd9f032f8
net: rtnetlink - make create_link take name_assign_type

This passes down NET_NAME_USER (or NET_NAME_ENUM) to alloc_netdev(),
for any device created over rtnetlink.

v9: restore reverse-christmas-tree order of local variables

Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
include/net/rtnetlink.h
net/core/rtnetlink.c