]> 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)
commita44759a0f4e1f42f93f9532c29a9b5934caedaae
treea4bae6df0f84df6b74e4b3f27fbfbf7bc7c0b92e
parente8b4b5a6ccfb015824d1c1d9dbc9925a946d018a
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