Gao Feng c3891fa254 driver: macvlan: Check if need rollback multicast setting in macvlan_open
When dev_set_promiscuity failed in macvlan_open, it always invokes
dev_set_allmulti without checking if necessary.
Now check the IFF_ALLMULTI flag firstly before rollback the multicast
setting in the error handler.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-23 20:18:36 -05:00
..
2016-11-13 10:22:07 -08:00
2016-11-16 20:46:32 +01:00
2016-11-17 13:53:02 -08:00
2016-11-16 12:39:57 -07:00
2016-11-13 10:07:08 -08:00
2016-11-13 10:13:33 -08:00