Commit 6c8b7d47 authored by Murali Karicheri's avatar Murali Karicheri Committed by Greg Kroah-Hartman
Browse files

net: hsr: Add support for MC filtering at the slave device



[ Upstream commit 36b20fcd ]

When MC (multicast) list is updated by the networking layer due to a
user command and as well as when allmulti flag is set, it needs to be
passed to the enslaved Ethernet devices. This patch allows this
to happen by implementing ndo_change_rx_flags() and ndo_set_rx_mode()
API calls that in turns pass it to the slave devices using
existing API calls.

Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarRavi Gunasekaran <r-gunasekaran@ti.com>
Reviewed-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 8884c693 ("hsr: use rtnl lock when iterating over ports")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 33b3d3d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment