diff options
author | 2008-03-26 00:15:17 -0700 | |
---|---|---|
committer | 2008-03-26 00:15:17 -0700 | |
commit | 0ed21b321a13421e2dfeaa70a6c324e05e3e91e6 (patch) | |
tree | edaabd8f35f77f6ef4e39c659621d3017845d944 /fs/xfs/xfs_log.c | |
parent | netxen, phy/marvell, skge: minor checkpatch fixes (diff) | |
download | wireguard-linux-0ed21b321a13421e2dfeaa70a6c324e05e3e91e6.tar.xz wireguard-linux-0ed21b321a13421e2dfeaa70a6c324e05e3e91e6.zip |
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions