]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: Add FLOW_OFFLOAD_XMIT_UNSPEC xmit type
authorRoi Dayan <roid@nvidia.com>
Tue, 13 Apr 2021 08:06:05 +0000 (11:06 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Apr 2021 11:47:00 +0000 (13:47 +0200)
commit8c4fc7a7904568a95949e184b181aec448260194
tree7d42eb7a1cfba6213e7db1d6581a3576cf243044
parent9d8be08bda4e51ab1666ba6a5da6f6d1a3d57a4b
netfilter: flowtable: Add FLOW_OFFLOAD_XMIT_UNSPEC xmit type

It could be xmit type was not set and would default to FLOW_OFFLOAD_XMIT_NEIGH
and in this type the gc expect to have a route info.
Fix that by adding FLOW_OFFLOAD_XMIT_UNSPEC which defaults to 0.

Fixes: b9656f75b6cd ("netfilter: flowtable: dst_check() from garbage collector path")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_core.c