]> 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)
commitb2bcb0f45211558f3f7e8cb7a4cdf57f8054d69f
tree4a6470d51268e35cca14a868e8a66786ae59d96c
parenta351b0d56cdd55720cce1ac28f9cae78b25f4f5b
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