diff options
author | wenxu <wenxu@chinatelecom.cn> | 2022-05-25 21:25:45 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-05-31 23:14:03 +0200 |
commit | f1896d45fee90a868dfd0b3cc119e4cc1bbd7ca2 (patch) | |
tree | d5626e76f7667d1dc0f8ef308bb7163124a5a232 /lib/cmdline_kunit.c | |
parent | f9a43007d3f7ba76d5e7f9421094f00f2ef202f8 (diff) |
netfilter: flowtable: fix missing FLOWI_FLAG_ANYSRC flag
The nf_flow_table gets route through ip_route_output_key. If the saddr
is not local one, then FLOWI_FLAG_ANYSRC flag should be set. Without
this flag, the route lookup for other_dst will fail.
Fixes: 3412e1641828 (netfilter: flowtable: nft_flow_route use more data for reverse route)
Signed-off-by: wenxu <wenxu@chinatelecom.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/cmdline_kunit.c')
0 files changed, 0 insertions, 0 deletions