diff options
| author | wenxu <[email protected]> | 2022-05-26 01:25:45 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2022-05-31 21:14:03 +0000 |
| commit | f1896d45fee90a868dfd0b3cc119e4cc1bbd7ca2 (patch) | |
| tree | d5626e76f7667d1dc0f8ef308bb7163124a5a232 /net/ipv4/tcp_output.c | |
| parent | netfilter: nf_tables: double hook unregistration in netns path (diff) | |
| download | kernel-f1896d45fee90a868dfd0b3cc119e4cc1bbd7ca2.tar.gz kernel-f1896d45fee90a868dfd0b3cc119e4cc1bbd7ca2.zip | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
