Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/libosmocore/+/43150?usp=email )
Change subject: linuxlist: fix false-positive UBSan misaligned-access reports ......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
@vyanitskiy@sysmocom. […]
I've compared our implementation against `include/linux/list.h` (linux v7.1.8).
Our older version is not 1:1 with the upstream anymore. I've already mentioned the removal of `prefetch()` in the next patch. Apart from that, the upstream has fancy macros like `list_entry_is_head`/`list_is_head` and `list_next_entry`.
All those macros in the kernel are still doing `pos->member` (via `list_entry_is_head`), so I believe this has not been solved upstream. And unfortunately, I could not find any related discussions in the mailing lists...