Commit 0eefe2c
net: dsa: get tree before parsing ports
We will need a reference to the dsa_switch_tree when parsing a CPU port,
so fetch it right after parsing the member and before parsing ports.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 6da2a94 commit 0eefe2c
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | 754 | | |
759 | 755 | | |
760 | 756 | | |
761 | 757 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | 758 | | |
767 | 759 | | |
768 | 760 | | |
| |||
773 | 765 | | |
774 | 766 | | |
775 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
| |||
0 commit comments