Skip to content
Success

Changes

Summary

  1. llc_queue_merge_prepend(): constify readonly ptr param (details)
  2. llc_queue: Store MetaInfo in msgb headroom instead of cb[] (details)
Commit deeb2194ea16fb9dce6edf4033386899ff0fed14 by Pau Espin Pedrol
llc_queue_merge_prepend(): constify readonly ptr param

Change-Id: Ib96bc75535fff94f1d953e37d217a6f954de8ada
The file was modifiedsrc/llc.h
The file was modifiedsrc/llc.c
Commit 0273b8967041285cd61f9d4bb2f16b282d86d142 by Pau Espin Pedrol
llc_queue: Store MetaInfo in msgb headroom instead of cb[]

"sizeof(*meta_storage) <= sizeof(llc_msg->cb)" assert fails on debian 13
armv7l.
Since struct MetaInfo cannot always fit inside msgb->cb, move the struct
MetaInfo into the headroom of the msgb.

Related: OS#6831
Change-Id: I98d966c257d50d3b2fc326dce85ead5591acf51f
The file was modifiedtests/llc/LlcTest.cpp
The file was modifiedsrc/llc.c
The file was modifiedsrc/llc.h
The file was modifiedsrc/gprs_ms.c