lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20141031.161717.851599743414417317.davem@davemloft.net> Date: Fri, 31 Oct 2014 16:17:17 -0400 (EDT) From: David Miller <davem@...emloft.net> To: lsorense@...lub.uwaterloo.ca Cc: linux-kernel@...r.kernel.org, mugunthanvnm@...com, netdev@...r.kernel.org Subject: Re: drivers: net: cpsw: Support ALLMULTI and fix IFF_PROMISC in switch mode From: "Lennart Sorensen" <lsorense@...lub.uwaterloo.ca> Date: Fri, 31 Oct 2014 13:38:52 -0400 > The cpsw driver did not support the IFF_ALLMULTI flag which makes dynamic > multicast routing not work. Related to this, when enabling IFF_PROMISC > in switch mode, all registered multicast addresses are flushed, resulting > in only broadcast and unicast traffic being received. > > A new cpsw_ale_set_allmulti function now scans through the ALE entry > table and adds/removes the host port from the unregistered multicast > port mask of each vlan entry depending on the state of IFF_ALLMULTI. > In promiscious mode, cpsw_ale_set_allmulti is used to force reception > of all multicast traffic in addition to the unicast and broadcast traffic. > > With this change dynamic multicast and promiscious mode both work in > switch mode. > > Signed-off-by: Len Sorensen <lsorense@...lub.uwaterloo.ca> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists