diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-07-06 10:26:39 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-07-06 16:51:58 +0200 |
commit | 25e7b99cc450490c38becb03d8bddd0199cfd3f9 (patch) | |
tree | d70bca5651734c8626e3fba0eb11377ad53847ff /tests/shell/testcases/flowtable | |
parent | 0fe1d450c7a7d45cf5c011dd3c6dc0878a2210d2 (diff) |
netlink_linearize: use div_round_up in byteorder length
Use div_round_up() to calculate the byteorder length, otherwise fields
that take % BITS_PER_BYTE != 0 are not considered by the byteorder
expression.
Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/flowtable')
0 files changed, 0 insertions, 0 deletions