pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-uecups/+/40790?usp=email )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: tun_device: Fix Tx uninitialized gtpu ext hdr fields ......................................................................
tun_device: Fix Tx uninitialized gtpu ext hdr fields
Change-Id: Ie1d4b2d8cd659fd23811c5330d8ae0e43ff0a0d2 --- M daemon/tun_device.c 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
diff --git a/daemon/tun_device.c b/daemon/tun_device.c index 6a0d8b6..350e322 100644 --- a/daemon/tun_device.c +++ b/daemon/tun_device.c @@ -178,8 +178,11 @@ if (t->exthdr.pdu_sess_container.enabled) { exthdr->array[0].type = GTP1_EXTHDR_PDU_SESSION_CONTAINER; exthdr->array[0].len = 1; + exthdr->array[0].spare1 = 0; exthdr->array[0].pdu_type = t->exthdr.pdu_sess_container.pdu_type; exthdr->array[0].qos_flow_identifier = t->exthdr.pdu_sess_container.qos_flow_identifier; + exthdr->array[0].reflective_qos_indicator = 0; + exthdr->array[0].paging_policy_presence = 0; exthdr->array[1].type = 0; /* No extension headers */ } else { exthdr->array[0].type = 0; /* No extension headers */