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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 May 2014 09:49:30 +0000 (11:49 +0200)
commit951c8657d8c4bb80afa304e4f506cdcf40fc1b8f
tree0c7a3d244030d6584261b21f938d60c627c7a7a5
parent5cc338cf5f3fdf1758240b50f7403b6c9e17e1a6
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: Jiri Slaby <jslaby@suse.cz>
drivers/net/macvlan.c