Attention is currently required from: Hoernchen, fixeria, laforge.
2 comments:
Patchset:
What about __attribute__((aligned(4))) or aligned alloca? This looks as brittle as the first version […]
Because I don't want to align the start of the buffer variable, but make sure an intermediate point in the buffer is aligned.
File daemon/tun_device.c:
Patch Set #2, Line 208: uint8_t base_buffer[payload_off_4byte_aligned + MAX_UDP_PACKET];
I would expect there are nice compiler pragmas/macros that allow for such alignment? I know the Linu […]
It's not about the initial buffer address, which I expect to be aligned, but the middle pointer where the iphdr gets stored.
To view, visit change 40787. To unsubscribe, or for help writing mail filters, visit settings.