Fixes #26277
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26269)
(cherry picked from commit
9861be4eef925ec1751765f8138ad81e0632234f)
/* Move from free list to pending list. */
ossl_list_urxe_remove(&demux->urx_free, urxe);
+ urxe->datagram_id = demux->next_datagram_id++;
ossl_list_urxe_insert_tail(&demux->urx_pending, urxe);
urxe->demux_state = URXE_DEMUX_STATE_PENDING;