osmo-epdg: gsup: add missing mutex->unlock when the GSUP message was unexpect

This commit is contained in:
Alexander Couzens 2024-02-17 02:03:08 +01:00
parent 0301c131e8
commit 48bb62a4ee
1 changed files with 1 additions and 0 deletions

View File

@ -497,6 +497,7 @@ static bool on_recv_pdu(void *data, osmo_epdg_ipa_client_t *client, struct msgb
DBG1(DBG_NET, "GSUP: received non matching Result. Requested %s but received %s",
osmo_gsup_message_type_name(this->current_request->msg_type),
osmo_gsup_message_type_name(resp->gsup.message_type));
this->mutex->unlock(this->mutex);
goto out;
}
if (!this->current_request)