openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

commit 540234b363142d88e0e3d83eff4ab92ce6c21a9d
parent 90066639685d6023e8ec21456bae8770814575b6
Author: Broadcom SDK Release <sdk.releases@broadcom.com>
Date:   Wed,  3 Apr 2019 17:19:01 -0700

SDK-174695: In the previous release, ALPM sw states could be out of sync when...

Devices: 56980_A0,56980_B0
Module: ALPM

Symptom:
Inappropriate handling on alpm_bkt_add_to_npvt->alpm_bkt_insert
returning -6 causes alpm SW state corruption.

In the previous release, ALPM sw states could be out of sync when LPM
TCAM reaches full in Parallel mode, and causes mis-forwarding or bucket
split segmentation fault. In current release, this issue has been fixed.

Diffstat:
Msdk-6.5.16/src/bcm/esw/alpm2/alpm.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sdk-6.5.16/src/bcm/esw/alpm2/alpm.c b/sdk-6.5.16/src/bcm/esw/alpm2/alpm.c @@ -5479,6 +5479,9 @@ alpm_cb_bkt_bnk_dump(int u, int ipt, _alpm_cb_t *acb, alpm_util_free(cdata); bad: + if (BCM_FAILURE(rv)) { + ALPM_ERR(("alpm_cb_bkt_bnk_dump error %d\n", rv)); + } return; }