summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/nft_chain_route_ipv4.c
diff options
context:
space:
mode:
authorLiping Zhang2016-09-02 14:49:12 +0200
committerPablo Neira Ayuso2016-09-05 19:28:23 +0200
commit5210d393ef84e5d2a4854671a9af2d97fd1b8dd4 (patch)
tree25a5dd8d46c1c8474593aed3daf19d043bd45b7e /net/ipv4/netfilter/nft_chain_route_ipv4.c
parentaf_unix: split 'u->readlock' into two: 'iolock' and 'bindlock' (diff)
downloadkernel-qcow2-linux-5210d393ef84e5d2a4854671a9af2d97fd1b8dd4.tar.gz
kernel-qcow2-linux-5210d393ef84e5d2a4854671a9af2d97fd1b8dd4.tar.xz
kernel-qcow2-linux-5210d393ef84e5d2a4854671a9af2d97fd1b8dd4.zip
netfilter: nf_tables_trace: fix endiness when dump chain policy
NFTA_TRACE_POLICY attribute is big endian, but we forget to call htonl to convert it. Fortunately, this attribute is parsed as big endian in libnftnl. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter/nft_chain_route_ipv4.c')
0 files changed, 0 insertions, 0 deletions