Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159230
b: refs/heads/master
c: b4076d1
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jul 30, 2009
1 parent 82c6d5a commit ea448dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 573dd788ccd919f90c78f971c0da124ffa4b8bff
refs/heads/master: b4076d1715b8a38138db0805a85932b3b650d583
6 changes: 0 additions & 6 deletions trunk/net/8021q/vlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@ int vlan_check_real_dev(struct net_device *real_dev, u16 vlan_id)
return -EOPNOTSUPP;
}

/* The real device must be up and operating in order to
* assosciate a VLAN device with it.
*/
if (!(real_dev->flags & IFF_UP))
return -ENETDOWN;

if (__find_vlan_dev(real_dev, vlan_id) != NULL)
return -EEXIST;

Expand Down

0 comments on commit ea448dc

Please sign in to comment.