intel / openlldp

Other
54 stars 43 forks source link

race during ifdown in 802.1qaz module #78

Closed apconole closed 2 years ago

apconole commented 3 years ago

tlvs->rx may not always be set, leading to exceptions in the following areas:

 #  1894|->     if (tlvs->rx->etscfg) {
 #  1600|->         if (tlvs->rx->app == NULL) {
 #  1589|->         if (tlvs->rx->pfc == NULL) {
 #  1577|->         if (tlvs->rx->etsrec == NULL) {
 #  1566|->         if (tlvs->rx->etscfg == NULL) {

This is because the rx block is deallocated when the IF is brought down.