]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 18:15:37 +0000 (14:15 -0400)
commite663cdd6a6c0aa1f69d8ae4314377b2170a1a457
tree1afd7673a64d0361cd856dae9efcc01528c0498c
parentfb5c5fb4634edb52803de12125edd6fd8e609c01
macvlan: Don't propagate IFF_ALLMULTI changes on down interfaces.

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>
drivers/net/macvlan.c