summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/namei.c
diff options
context:
space:
mode:
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>2014-10-31 13:38:52 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-31 16:16:42 -0400
commit10738eeaf4ab3de092586cefcc082e7d43ca0044 (patch)
tree3a4bc1fda702c9ab295495c5ab469e2157927fcc /fs/ocfs2/namei.c
parent35532c211b1feda52078685bef0bf9b5f3b0991c (diff)
downloadop-kernel-dev-10738eeaf4ab3de092586cefcc082e7d43ca0044.zip
op-kernel-dev-10738eeaf4ab3de092586cefcc082e7d43ca0044.tar.gz
drivers: net: cpsw: Support ALLMULTI and fix IFF_PROMISC in switch mode
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@csclub.uwaterloo.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ocfs2/namei.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud