mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 09:36:17 +02:00
Define a local copy of the header that has fields for the csum type and length, so we can build in places that haven't caught up to kernel 5.5 headers yet. The reason why the csum type and length are not unconditionally filled in eludes me. csum_length is necessarily non-zero, and the cost of the conditional is worse than the cost of the copy, so the whole flags dance is a WTF...but it's part of the kernel API now, so it's too late to NAK it. Signed-off-by: Zygo Blaxell <bees@furryterror.org>