From: Patrick McHardy Date: Wed, 26 Mar 2008 07:15:17 +0000 (-0700) Subject: [VLAN]: Don't copy ALLMULTI/PROMISC flags from underlying device X-Git-Tag: v2.6.25-rc8~77^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed21b321a13421e2dfeaa70a6c324e05e3e91e6;p=pandora-kernel.git [VLAN]: Don't copy ALLMULTI/PROMISC flags from underlying device Changing these flags requires to use dev_set_allmulti/dev_set_promiscuity or dev_change_flags. Setting it directly causes two unwanted effects: - the next dev_change_flags call will notice a difference between dev->gflags and the actual flags, enable promisc/allmulti mode and incorrectly update dev->gflags - this keeps the underlying device in promisc/allmulti mode until the VLAN device is deleted Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed