diff options
author | 2021-03-15 11:31:09 +0100 | |
---|---|---|
committer | 2021-03-15 18:42:01 +0100 | |
commit | b58f33d49e426dc66e98ed73afb5d97b15a25f2d (patch) | |
tree | 05715047243687468325285cd018c7e3713d355e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: x_tables: Use correct memory barriers. (diff) | |
download | wireguard-linux-b58f33d49e426dc66e98ed73afb5d97b15a25f2d.tar.xz wireguard-linux-b58f33d49e426dc66e98ed73afb5d97b15a25f2d.zip |
netfilter: ctnetlink: fix dump of the expect mask attribute
Before this change, the mask is never included in the netlink message, so
"conntrack -E expect" always prints 0.0.0.0.
In older kernels the l3num callback struct was passed as argument, based
on tuple->src.l3num. After the l3num indirection got removed, the call
chain is based on m.src.l3num, but this value is 0xffff.
Init l3num to the correct value.
Fixes: f957be9d349a3 ("netfilter: conntrack: remove ctnetlink callbacks from l3 protocol trackers")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions