]> err.no Git - linux-2.6/commit
[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)
commit2f4284a406cb25d1e41454cbf9ec4545b5ed70a1
treedcc09152f9e1e59e263fe47e2633547914f98445
parentc17d8874f9959070552fddf1b4e1d73c0c144c0f
[VLAN]: Move some device intialization code to dev->init callback

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>
net/8021q/vlan.c