X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2F8021q%2Fvlan_dev.c;h=0e3b2d3e2339be908f0a631c341cb53187b750b1;hb=8e8e43843ba3ced0c657cbc0fdb10644ec60f772;hp=e536162b1ebc59a8b44c311ea72807e12cd15c2c;hpb=ed85f2c3b2b72bd20f617ac749f5c22be8d0f66e;p=linux-2.6-omap-h63xx.git diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index e536162b1eb..0e3b2d3e233 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -660,7 +660,7 @@ static int vlan_dev_init(struct net_device *dev) int subclass = 0; /* IFF_BROADCAST|IFF_MULTICAST; ??? */ - dev->flags = real_dev->flags & ~IFF_UP; + dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI); dev->iflink = real_dev->ifindex; dev->state = (real_dev->state & ((1<<__LINK_STATE_NOCARRIER) | (1<<__LINK_STATE_DORMANT))) |