diff options
| author | Vivien Didelot <[email protected]> | 2017-06-15 19:06:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-06-15 21:23:35 +0000 |
| commit | e4b7778769c25f773c514dcc99afcf7c74a9b3e4 (patch) | |
| tree | ef5cc0006c329b562f16f026b856b3c701ce5c06 /drivers/net/dsa/dsa_loop.c | |
| parent | Merge branch 'r8152-support-new-chips' (diff) | |
| download | kernel-e4b7778769c25f773c514dcc99afcf7c74a9b3e4.tar.gz kernel-e4b7778769c25f773c514dcc99afcf7c74a9b3e4.zip | |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
