pespin submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
tun_device: Fix Tx uninitialized gtpu ext hdr fields
Change-Id: Ie1d4b2d8cd659fd23811c5330d8ae0e43ff0a0d2
---
M daemon/tun_device.c
1 file changed, 3 insertions(+), 0 deletions(-)
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 */
To view, visit change 40790. To unsubscribe, or for help writing mail filters, visit settings.