macvlan: Don't propagate IFF_ALLMULTI changes on down interfaces.
authorPeter Christensen <pch@ordbogen.com>
Thu, 8 May 2014 09:15:37 +0000 (11:15 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jun 2014 12:28:59 +0000 (13:28 +0100)
commit5b64df7dd898e1b05ecb77d06a69313a9d7c43db
tree5f265d2c542db01c0f0792e00e6d39b5c161cee5
parent2157fbf160aa15f1f97fdb14261a3b1d3796b0fb
macvlan: Don't propagate IFF_ALLMULTI changes on down interfaces.

[ Upstream commit bbeb0eadcf9fe74fb2b9b1a6fea82cd538b1e556 ]

Clearing the IFF_ALLMULTI flag on a down interface could cause an allmulti
overflow on the underlying interface.

Attempting the set IFF_ALLMULTI on the underlying interface would cause an
error and the log message:

"allmulti touches root, set allmulti failed."

Signed-off-by: Peter Christensen <pch@ordbogen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/macvlan.c