Loading net/8021q/vlan.c +1 −2 Original line number Diff line number Diff line Loading @@ -570,8 +570,7 @@ static int vlan_ioctl_handler(struct net *net, void __user *arg) goto out; err = -EINVAL; if (args.cmd != ADD_VLAN_CMD && !(dev->priv_flags & IFF_802_1Q_VLAN)) if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) goto out; } Loading net/8021q/vlan_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -694,7 +694,7 @@ static int vlan_dev_init(struct net_device *dev) dev->hard_start_xmit = vlan_dev_hard_start_xmit; } if (real_dev->priv_flags & IFF_802_1Q_VLAN) if (is_vlan_dev(real_dev)) subclass = 1; lockdep_set_class_and_subclass(&dev->_xmit_lock, Loading net/8021q/vlanproc.c +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) static const char fmt[] = "%30s %12lu\n"; int i; if (!(vlandev->priv_flags & IFF_802_1Q_VLAN)) if (!is_vlan_dev(vlandev)) return 0; seq_printf(seq, Loading Loading
net/8021q/vlan.c +1 −2 Original line number Diff line number Diff line Loading @@ -570,8 +570,7 @@ static int vlan_ioctl_handler(struct net *net, void __user *arg) goto out; err = -EINVAL; if (args.cmd != ADD_VLAN_CMD && !(dev->priv_flags & IFF_802_1Q_VLAN)) if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) goto out; } Loading
net/8021q/vlan_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -694,7 +694,7 @@ static int vlan_dev_init(struct net_device *dev) dev->hard_start_xmit = vlan_dev_hard_start_xmit; } if (real_dev->priv_flags & IFF_802_1Q_VLAN) if (is_vlan_dev(real_dev)) subclass = 1; lockdep_set_class_and_subclass(&dev->_xmit_lock, Loading
net/8021q/vlanproc.c +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) static const char fmt[] = "%30s %12lu\n"; int i; if (!(vlandev->priv_flags & IFF_802_1Q_VLAN)) if (!is_vlan_dev(vlandev)) return 0; seq_printf(seq, Loading