Home
last modified time | relevance | path

Searched hist:c3891fa2543cbab26093f5e425b8a50cd6837f16 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/
H A Dmacvlan.cdiff c3891fa2543cbab26093f5e425b8a50cd6837f16 Tue Nov 22 02:54:36 CET 2016 Gao Feng <fgao@ikuai8.com> 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>