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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 04:52:16 +0000 (21:52 -0700)
commit8b64afaca4d6cb80d0d1b2a4651b1efb7231f220
tree540d946e9bd26d2d20a7b1695a92eb5a83e4ae2b
parentb237dc48b3c64aa48c822e0387d9ea1d00714dcb
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/macvlan.c