diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-13 19:05:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 05:14:39 (GMT) |
commit | 2f4284a406cb25d1e41454cbf9ec4545b5ed70a1 (patch) | |
tree | dcc09152f9e1e59e263fe47e2633547914f98445 /init | |
parent | c17d8874f9959070552fddf1b4e1d73c0c144c0f (diff) | |
download | linux-fsl-qoriq-2f4284a406cb25d1e41454cbf9ec4545b5ed70a1.tar.xz |
[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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions