summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Pilcher <arequipeno@gmail.com>2022-10-18 11:45:28 -0500
committerPablo Neira Ayuso <pablo@netfilter.org>2022-10-25 12:48:08 +0200
commit7e867f5d66510cb70bfae7be2d4ec28351934f66 (patch)
treef1f243941410a0dba05b01a3744fa30070d7dce9 /configure.ac
parent461f36979f4ed2b6cc95f06cf5f9c3c84bdf9e70 (diff)
libnftnl: Fix res_id byte order
The res_id member of struct nfgenmsg is supposed to be in network byte order (big endian). Call htons() in __nftnl_nlmsg_build_hdr() to ensure that this is true on little endian systems. There is a kernel workaround that was introduced in 4.3 to address this issue: commit a9de9777d613500b089a7416f936bf3ae5f070d2 Author: Pablo Neira Ayuso <pablo@netfilter.org> Date: Fri Aug 28 21:01:43 2015 +0200 netfilter: nfnetlink: work around wrong endianess in res_id field And current oldest stable kernel branch in 4.9, merge this to fix the incorrect endianness from userspace. Signed-off-by: Ian Pilcher <arequipeno@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions