Add a check on the VNF P7 message handler to ignore P7 messages after it received a STOP.indication from the PNF

This commit is contained in:
Rúben Soares Silva
2026-01-28 16:08:50 +00:00
parent f76e530f90
commit e82e3a35fe
+4
View File
@@ -2130,6 +2130,10 @@ void vnf_dispatch_p7_message(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
void vnf_nr_handle_p7_message(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
{
if (vnf_p7->terminate) {
// VNF already terminated, ignore messages ( shouldn't get here, since the PNF doesn't send further messages after terminating as well )
return;
}
nfapi_nr_p7_message_header_t header;
// validate the input params