diff options
author | Florian Westphal <fw@strlen.de> | 2021-03-15 11:31:09 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-15 18:42:01 +0100 |
commit | b58f33d49e426dc66e98ed73afb5d97b15a25f2d (patch) | |
tree | 05715047243687468325285cd018c7e3713d355e /lib/mpi/mpi-mod.c | |
parent | 175e476b8cdf2a4de7432583b49c871345e4f8a1 (diff) |
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 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions