diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-15 15:06:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-15 17:23:35 -0400 |
commit | e4b7778769c25f773c514dcc99afcf7c74a9b3e4 (patch) | |
tree | ef5cc0006c329b562f16f026b856b3c701ce5c06 /block/Kconfig | |
parent | 3715c47bcda8bb56f7e2be27276282a2d0d48c09 (diff) |
net: dsa: assign default CPU port to all ports
The current code only assigns the default cpu_dp to all user ports of
the switch to which the CPU port belongs. The user ports of the other
switches of the fabric thus don't have a default CPU port.
This patch fixes this by assigning the cpu_dp of all user ports of all
switches of the fabric when the tree is fully parsed.
Fixes: a29342e73911 ("net: dsa: Associate slave network device with CPU port")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/Kconfig')
0 files changed, 0 insertions, 0 deletions