diff options
| author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2014-03-06 20:18:27 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:05:10 -0700 |
| commit | b410fce77c5bd394e10bf13717cf417fe0acfd80 (patch) | |
| tree | 37107596b840ba46fcd1eb208a15efa90c09b463 /include/uapi | |
| parent | ce9d8001da16f3fb74fb54efc2030b7d28ef12ad (diff) | |
net: rmnet_data: modify 8-byte QoS Header
Clients consuming the 8-byte QoS header expect the flowID
in a different position in the header thus causing random address
dereference and a potential crash. Update the 8-byte QoS header
format structure as specified in the mandated QOS specification
CRs-Fixed: 625709
Change-Id: I58c662ff2f3adfe9584d19891339ea31ce0c8bd3
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/msm_rmnet.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uapi/linux/msm_rmnet.h b/include/uapi/linux/msm_rmnet.h index 5866adb12391..b03f3285cd7d 100644 --- a/include/uapi/linux/msm_rmnet.h +++ b/include/uapi/linux/msm_rmnet.h @@ -138,9 +138,8 @@ struct QMI_QOS_HDR_S { /* QMI QoS 8-byte header. */ struct qmi_qos_hdr8_s { - uint8_t version_flags; - uint8_t reserved[3]; - uint32_t flow_id; + struct QMI_QOS_HDR_S hdr; + uint8_t reserved[2]; } __attribute((__packed__)); #endif /* _UAPI_MSM_RMNET_H_ */ |
