commit | 9f6bd8fa5860fc7b041b10f2d463c78d65bdb59d | [log] [tgz] |
---|---|---|
author | Mugunthan V N <mugunthanvnm@ti.com> | Thu Jan 15 14:59:28 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 15 13:57:07 2015 -0500 |
tree | fc9c939ed65a2f88e5a18f76166d112f457e2daf | |
parent | 16dde0d6ac159531a5e03cd3f8bc8a401d9f3fb6 [diff] |
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>