net: set name assign type for renamed devices
authorTom Gundersen <teg@jklm.no>
Mon, 14 Jul 2014 14:37:23 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:12:01 +0000 (16:12 -0700)
commit238fa3623a5709d29673ed78ff8e714d040fbb89
treefebee5d08cba4e04e37cdc9cb1cbf57abbbfdc84
parent685343fc3ba61a1f6eef361b786601123db16c28
net: set name assign type for renamed devices

Based on a patch from David Herrmann.

This is the only place devices can be renamed.

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

Signed-off-by: Tom Gundersen <teg@jklm.no>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c