pespin has uploaded this change for review.

View Change

tun_device: Fix Tx uninitialized gtpu ext hdr fields

Change-Id: Ie1d4b2d8cd659fd23811c5330d8ae0e43ff0a0d2
---
M daemon/tun_device.c
1 file changed, 3 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-uecups refs/changes/90/40790/1
diff --git a/daemon/tun_device.c b/daemon/tun_device.c
index 3444b2d..b32c08a 100644
--- a/daemon/tun_device.c
+++ b/daemon/tun_device.c
@@ -182,8 +182,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 */

To view, visit change 40790. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-uecups
Gerrit-Branch: master
Gerrit-Change-Id: Ie1d4b2d8cd659fd23811c5330d8ae0e43ff0a0d2
Gerrit-Change-Number: 40790
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>