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)
commit5c70ef85a2f26d8a0e1aaa7b4cbfff44fda36585
treea4bae6df0f84df6b74e4b3f27fbfbf7bc7c0b92e
parentb68656b22fd7a3e03087c11b2b45c15c0b328609
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