path: root/files/nftables/ipv4-security
diff options
authorJeremy Sowden <>2023-03-17 10:16:36 +0100
committerPablo Neira Ayuso <>2023-03-22 16:54:06 +0100
commitfe623a50949203fa979a79adc8f8af35b74b534c (patch)
treebf4e70c96f9c4268bcefe36f7836aa5d6ca2fa14 /files/nftables/ipv4-security
parent5adb51190c967d28ef7f23464807f7bc86636978 (diff)
evaluate: insert byte-order conversions for expressions between 9 and 15 bitsHEADmaster
Round up expression lengths when determining whether to insert a byte-order conversion. For example, if one is masking a network header which spans a byte boundary, the mask will span two bytes and so it will need to be in NBO. Fixes: bb03cbcd18a1 ("evaluate: no need to swap byte-order for values of fewer than 16 bits.") Signed-off-by: Jeremy Sowden <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'files/nftables/ipv4-security')
0 files changed, 0 insertions, 0 deletions