[VLAN]: Move some device intialization code to dev->init callback
authorPatrick McHardy <kaber@trash.net>
Wed, 13 Jun 2007 19:05:41 +0000 (12:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:14:39 +0000 (22:14 -0700)
Move some device initialization code to new dev->init callback to make
it shareable with netlink. Additionally this fixes a minor bug, dev->iflink
is set after registration, which causes an incorrect value in the initial
netlink message.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found