diff options
author | Liping Zhang | 2016-09-02 14:49:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2016-09-05 19:28:23 +0200 |
commit | 5210d393ef84e5d2a4854671a9af2d97fd1b8dd4 (patch) | |
tree | 25a5dd8d46c1c8474593aed3daf19d043bd45b7e /net/ipv4/netfilter/nft_chain_route_ipv4.c | |
parent | af_unix: split 'u->readlock' into two: 'iolock' and 'bindlock' (diff) | |
download | kernel-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