diff options
author | wenxu <wenxu@ucloud.cn> | 2019-12-20 12:14:37 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-01-05 10:06:31 +0100 |
commit | f31ad71c44c17e55d9a6fa24f8249a15365cf8b2 (patch) | |
tree | 41d73e41e76d1fce0a260c9befb3d3255da31ece /lib | |
parent | 1b67e50601fabc9589022e6b5e79fd8596c2338e (diff) |
netfilter: nf_flow_table_offload: check the status of dst_neigh
It is better to get the dst_neigh with neigh->lock and check the
nud_state is VALID. If there is not neigh previous, the lookup will
Create a non NUD_VALID with 00:00:00:00:00:00 mac.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions