aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/inet_common.h
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-06-22 20:17:53 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-23 20:52:09 +0900
commit418e7dab0f83fcef4f3cb1ae5b1c02ee83b8e26c (patch)
treea37f6d45a0b6ce2fe57246bfac8759ce2b6ea00a /include/net/inet_common.h
parentnet: pch_gbe: Inline pch_gbe_mac_mc_addr_list_update (diff)
downloadwireguard-linux-418e7dab0f83fcef4f3cb1ae5b1c02ee83b8e26c.tar.xz
wireguard-linux-418e7dab0f83fcef4f3cb1ae5b1c02ee83b8e26c.zip
net: pch_gbe: Clean up pch_gbe_set_multi
Refactor pch_gbe_set_multi in order to avoid unnecessary indentation & make it clearer what the code is doing. The one behavioral change from this patch is that we'll no longer configure the MAC address registers for multicast addresses when the IFF_PROMISC or IFF_ALLMULTI flags are set. In these cases, just as when we want to monitor more multicast addresses than we have MAC address registers, we disable multicast filtering so the MAC address registers are unused. Signed-off-by: Paul Burton <paul.burton@mips.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_common.h')
0 files changed, 0 insertions, 0 deletions