commit | 2f4284a406cb25d1e41454cbf9ec4545b5ed70a1 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Jun 13 12:05:41 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:14:39 2007 -0700 |
tree | dcc09152f9e1e59e263fe47e2633547914f98445 | |
parent | c17d8874f9959070552fddf1b4e1d73c0c144c0f [diff] |
[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>