commit | f31ad71c44c17e55d9a6fa24f8249a15365cf8b2 | [log] [tgz] |
---|---|---|
author | wenxu <wenxu@ucloud.cn> | Fri Dec 20 12:14:37 2019 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sun Jan 05 10:06:31 2020 +0100 |
tree | 41d73e41e76d1fce0a260c9befb3d3255da31ece | |
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>