]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: add multicast filter
authorEric Dumazet <edumazet@google.com>
Tue, 5 Feb 2013 20:22:50 +0000 (20:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2013 20:59:47 +0000 (15:59 -0500)
commitd195da98f48ca143a1d3fe9420a9fc2b573a2097
treef5efeea14ae9aa00bb18cf96dc357c73a34d6b0a
parente335aad38f0c6c0b87ce4297ca806089bc20d0e4
macvlan: add multicast filter

Setting up IPv6 addresses on configurations with many macvlans
is not really working, as many multicast messages are dropped.

Add a multicast filter to macvlan to reduce the amount of cloned
skbs and overhead.

Successfully tested with 1024 macvlans on one ethernet device.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
include/linux/if_macvlan.h