]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: allow to change type when no vlan device is hooked on netdev
authorJiri Pirko <jiri@resnulli.us>
Wed, 17 Oct 2012 01:37:36 +0000 (01:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2012 19:34:30 +0000 (15:34 -0400)
commitd550e21757a306b263f73d0ef3d29c840ae88f56
tree4a6470d51268e35cca14a868e8a66786ae59d96c
parentfa8080c5281aad5eaf7a32ed5876ad40b0c8a93f
vlan: allow to change type when no vlan device is hooked on netdev

vlan_info might be present but still no vlan devices might be there.
That is in case of vlan0 automatically added.

So in that case, allow to change netdev type.

Reported-by: Jon Stanley <jstanley@rmrf.net>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c