aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2022-10-31 13:34:07 +0100
committerJakub Kicinski <[email protected]>2022-11-01 21:29:06 -0700
commitecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f (patch)
tree066d92ddee2813ec80fd1957550acb514464e2ec /lib/mpi/mpi-mod.c
parentfc57062f98b0b0ae52bc584d8fd5ac77c50df607 (diff)
netlink: introduce bigendian integer types
Jakub reported that the addition of the "network_byte_order" member in struct nla_policy increases size of 32bit platforms. Instead of scraping the bit from elsewhere Johannes suggested to add explicit NLA_BE types instead, so do this here. NLA_POLICY_MAX_BE() macro is removed again, there is no need for it: NLA_POLICY_MAX(NLA_BE.., ..) will do the right thing. NLA_BE64 can be added later. Fixes: 08724ef69907 ("netlink: introduce NLA_POLICY_MAX_BE") Reported-by: Jakub Kicinski <[email protected]> Suggested-by: Johannes Berg <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions