Re: [mpls-linux-general] a question about ldp-portable source
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-01-02 22:39:18
|
Yes please file a bug report wit the information you have included.
On Sat, Dec 28, 2002 at 05:53:55PM +0900, Kwangwoo Lee wrote:
> Hi,
> I'm not sure that my thought is right or not.. I'm just trying to underst=
and the ldp sources.
> My network is using downstream on demand distribution mode.
> When I run ldp-portable 0.305 with zebra 0.93a , I encountered a segmenta=
tion fault.
> The line number is 1088 in ldp_lable_mapping.c, I think ds_list should be=
us_list.
> Shoud I use bug report page?=20
> (I'm not native, so my English writing may be a bit strange.)
>=20
> Regards,
>=20
> Kwangwoo Lee
>=20
> if ((us_list =3D ldp_attr_find_upstream_all(g, peer, fec))) {
> us_temp =3D MPLS_LIST_HEAD(ds_list); <--=
--------- us_list ?
> while (us_temp) {
> if (us_temp->state =3D=3D LDP_LSP_STATE_REQ_RECV) {
> if (need_request =3D=3D MPLS_BOOL_TRUE) {
> if (ldp_attr_find_downstream_state(g, peer, fec,
> LDP_LSP_STATE_REQ_SENT) =3D=3D NULL) {
> /*
> * we don't have a request for FEC to peer outstanding
> */
> ds_temp =3D NULL;
> if (ldp_label_request_for_xc(g, peer, fec, us_temp,
> &ds_temp) !=3D MPLS_SUCCESS) {
> retval =3D MPLS_FAILURE;
> goto LMp_33;
> }
> }
> } else {
> if (ldp_label_mapping_with_xc(g, peer, fec, &us_temp,
> ds_attr) !=3D MPLS_SUCCESS) {
> retval =3D MPLS_FAILURE;
> goto LMp_33;
> }
> /*
> * if we're not merging, we will need to request a label =
for
> * the next DU peer
> */
> if (g->label_merge =3D=3D MPLS_BOOL_FALSE) {
> need_request =3D MPLS_BOOL_TRUE;
> }
> }
> }
> us_temp =3D MPLS_LIST_NEXT(us_list, us_temp, _fs);
> }
> }
> =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=
=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=D3=86+,=7F=F9=DE=B5=E9=
=9A=8AX=AC=B2=9A'=B2=8A=DEu=BC=FFN=18=A7=90g=9E=91g=A5r=89=9E=B6=88=1EzH^j=
=F7=A7=FE=1Bm=A7=FF=FF=B6=18=A7=92=07=9E=93=F7(=9B=FB=1F=FF=FF=FF=FF=FF=FF=
=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=
=FF=FF=FF=FF=E6=A6[=FF=96)=EE=C7=F8=1E=9D=EA=DA=96f=A2=96)=E0=96+-=9A=99l=
=FEX=A7=BB=1F=E0zw=ABj_=E5=8A=CBl=FE=CA.=AD=C7=9F=A2=B8=1E=FEw=AD=86=DBi=B3=
=FF=FF=96+-=B3=FB(=BA=B7=1E~=8A=E0{=F9=DE=B7=F9b=B2=DB?=96+-=8Aw=E8=FEje=B3=
=F9b=9E=EC=FF=81=E9=DE
--=20
James R. Leu
|