diff options
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r-- | net/8021q/vlan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 453512266ea1..c39a5f41169c 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -530,6 +530,10 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event, | |||
530 | } | 530 | } |
531 | unregister_netdevice_many(&list); | 531 | unregister_netdevice_many(&list); |
532 | break; | 532 | break; |
533 | |||
534 | case NETDEV_PRE_TYPE_CHANGE: | ||
535 | /* Forbid underlaying device to change its type. */ | ||
536 | return NOTIFY_BAD; | ||
533 | } | 537 | } |
534 | 538 | ||
535 | out: | 539 | out: |