]> git.baikalelectronics.ru Git - kernel.git/commit
veth: allow to setup multicast address for veth device
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 4 Oct 2013 08:52:24 +0000 (16:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Oct 2013 04:08:07 +0000 (00:08 -0400)
commitd28b6032be8d0e8544d83bd30e978b818874027d
treea4bae6df0f84df6b74e4b3f27fbfbf7bc7c0b92e
parentcef69c30c9fdd3194ae5508df75e5f5314c8c901
veth: allow to setup multicast address for veth device

We can only setup multicast address for network device when
net_device_ops->ndo_set_rx_mode is not null.

Some configurations need to add multicast address for net
device, such as netfilter cluster match module.

Add a fake ndo_set_rx_mode function to allow this operation.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c