No, this was more subtle, its the setting of duid->en.id in https://github.com/systemd/systemd/commit/dbe81cbd2a9#diff-893ccaa839a00a7a16a80dbc02631270L54 . This was caught by the two DHCP test cases. That struct uses ((attribute __packed__)) unions with an uint32_t preceeding the "id" field, and has an odd address, so is always unaligned.
No, this was more subtle, its the setting of duid->en.id in https:/ /github. com/systemd/ systemd/ commit/ dbe81cbd2a9# diff-893ccaa839 a00a7a16a80dbc0 2631270L54 . This was caught by the two DHCP test cases. That struct uses ((attribute __packed__)) unions with an uint32_t preceeding the "id" field, and has an odd address, so is always unaligned.