intel/openlldp

race during ifdown in 802.1qaz module

apconole opened this issue · 0 comments

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.