]> git.baikalelectronics.ru Git - kernel.git/commit
[VLAN]: Move vlan_group allocation to seperate function
authorPatrick McHardy <kaber@trash.net>
Wed, 13 Jun 2007 19:05:59 +0000 (12:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:14:40 +0000 (22:14 -0700)
commit7599ad87211313f16801383f5edd9e0720338ae3
treea23bc4a9464dd3f6323f707246b9738c87ed5482
parent14969ada715f307aa2afbfcfa1a9746265b19dae
[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>
net/8021q/vlan.c