Sebastian Sumpf 08c1e69d71 nic/packet_allocator: align allocations to 2 bytes
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
2022-01-19 12:35:48 +01:00
..
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2020-07-13 11:33:13 +02:00
2021-12-17 15:04:45 +01:00
2020-07-30 08:49:23 +02:00
2021-12-17 15:04:45 +01:00
2017-03-24 16:19:56 +01:00
2019-01-30 13:49:54 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-06-25 11:41:45 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2020-04-17 12:40:12 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00