commit | 42429aaee5eb44f4a48fdb056d77d0c06ef5aebc | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Jun 13 12:05:59 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:14:40 2007 -0700 |
tree | a23bc4a9464dd3f6323f707246b9738c87ed5482 | |
parent | 2f4284a406cb25d1e41454cbf9ec4545b5ed70a1 [diff] |
[VLAN]: Move vlan_group allocation to seperate function Move group allocation to a seperate function to clean up the code a bit and allocate groups before registering the device. Device registration is globally visible and causes netlink events, so we shouldn't fail afterwards. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>