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)
commit78ed0a9bc6db76f8e5f5f4cb0d2b2f0d1bb21b24
tree7d42eb7a1cfba6213e7db1d6581a3576cf243044
parent9b1a4d0f914b1186248fc88b1cb6ee49e336a2b2
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: 8b9229d15877 ("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