]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: fix IPv6 tunnel addr match
authorWill Mortensen <willmo@gmail.com>
Sun, 7 Nov 2021 01:28:21 +0000 (18:28 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Nov 2021 11:14:05 +0000 (12:14 +0100)
commita3fd3407ec0fbcf3668a59fef27f7c6b43075fb9
tree061bd156f8eeaeda57df634158880f55dc583fbd
parentc58c8179fec149107974362cfe66bbbf85440634
netfilter: flowtable: fix IPv6 tunnel addr match

Previously the IPv6 addresses in the key were clobbered and the mask was
left unset.

I haven't tested this; I noticed it while skimming the code to
understand an unrelated issue.

Fixes: 5326fc647d4e ("netfilter: flowtable: add tunnel match offload support")
Cc: wenxu <wenxu@ucloud.cn>
Signed-off-by: Will Mortensen <willmo@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_offload.c