Commit b31ba90
authored
[fix] remove ASIC ports before replication cleanup on empty transition (#232)
When all members are removed from a multicast group, the empty transition path cleaned up replication table entries but skipped process_membership_changes, leaving stale ports in the ASIC groups. Subsequent re-adds failed with "already contains port" (500).
This fix calls process_membership_changes before cleanup_empty_group_replication so mc_port_remove runs on every port.1 parent 375a0f2 commit b31ba90
2 files changed
+67
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4762 | 4762 | | |
4763 | 4763 | | |
4764 | 4764 | | |
4765 | | - | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
4766 | 4770 | | |
4767 | 4771 | | |
4768 | 4772 | | |
| |||
4945 | 4949 | | |
4946 | 4950 | | |
4947 | 4951 | | |
| 4952 | + | |
| 4953 | + | |
| 4954 | + | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
| 4959 | + | |
| 4960 | + | |
| 4961 | + | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
| 4971 | + | |
| 4972 | + | |
| 4973 | + | |
| 4974 | + | |
| 4975 | + | |
| 4976 | + | |
| 4977 | + | |
| 4978 | + | |
| 4979 | + | |
| 4980 | + | |
| 4981 | + | |
| 4982 | + | |
| 4983 | + | |
| 4984 | + | |
| 4985 | + | |
| 4986 | + | |
| 4987 | + | |
| 4988 | + | |
4948 | 4989 | | |
4949 | 4990 | | |
4950 | 4991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
| 832 | + | |
833 | 833 | | |
834 | | - | |
835 | | - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
836 | 852 | | |
837 | 853 | | |
838 | | - | |
| 854 | + | |
839 | 855 | | |
840 | 856 | | |
841 | 857 | | |
842 | | - | |
| 858 | + | |
843 | 859 | | |
844 | 860 | | |
845 | 861 | | |
846 | | - | |
| 862 | + | |
847 | 863 | | |
848 | 864 | | |
849 | 865 | | |
850 | | - | |
| 866 | + | |
851 | 867 | | |
852 | 868 | | |
853 | 869 | | |
| |||
870 | 886 | | |
871 | 887 | | |
872 | 888 | | |
873 | | - | |
| 889 | + | |
874 | 890 | | |
875 | 891 | | |
876 | 892 | | |
| |||
1489 | 1505 | | |
1490 | 1506 | | |
1491 | 1507 | | |
1492 | | - | |
| 1508 | + | |
1493 | 1509 | | |
1494 | 1510 | | |
1495 | 1511 | | |
| |||
0 commit comments