mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-27 14:49:31 +00:00
08c1e69d71
Override 'try_alloc/free' because ethernet frame headers are 14 bytes (src/dst mac (12) + ethertype (2)) causing the IP header to be 2 byte aligned, leading to problems on platforms that require load/store operations to be naturally aligned when reading, for example, 4 byte IP addresses. Therefore, we align the allocation to 2 bytes, so the IP header is aligned to 4. issue #4312