]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cpsw: fix cpsw hung with add vlan using vconfig
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 15 Jan 2015 09:29:28 +0000 (14:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 18:57:07 +0000 (13:57 -0500)
commit462298802017a58f2d025664e0721b87442bdb3f
treefc9c939ed65a2f88e5a18f76166d112f457e2daf
parent3a4b16a2ed93aa24360e587ce577b2b8cf1c1bc5
drivers: net: cpsw: fix cpsw hung with add vlan using vconfig

while adding vlan in dual EMAC mode, only specific ports should be
subscribed for the vlan, else it will lead to switching mode and
if both ports connected to same switch cpsw will hung as it creates
a network loop. Fixing this by adding only specific ports in case
of dual EMAC.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c