"Bug in hashing" fixed. Ehm it was bug in lsrql node removing.
This commit is contained in:
parent
d8852b362c
commit
f1f7faceb4
1 changed files with 14 additions and 12 deletions
|
@ -141,6 +141,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
|
|||
WALK_LIST(NODE ntmp,ifa->neigh_list)
|
||||
{
|
||||
struct top_hash_entry *en;
|
||||
if(ntmp->state>NEIGHBOR_EXSTART)
|
||||
if((en=ospf_hash_find_header(ntmp->lsrqh,&lsatmp))!=NULL)
|
||||
{
|
||||
s_rem_node(SNODE en);
|
||||
|
@ -184,6 +185,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
|
|||
WALK_LIST(NODE ntmp,ifa->neigh_list)
|
||||
{
|
||||
struct top_hash_entry *en;
|
||||
if(ntmp->state>NEIGHBOR_EXSTART)
|
||||
if((en=ospf_hash_find_header(ntmp->lsrth,&lsadb->lsa))!=NULL)
|
||||
{
|
||||
s_rem_node(SNODE en);
|
||||
|
|
Loading…
Reference in a new issue