Skip to content
Commit c29a7656 authored by Vlad Buslov's avatar Vlad Buslov Committed by Greg Kroah-Hartman
Browse files

netfilter: flowtable: allow unidirectional rules

[ Upstream commit 8f84780b

 ]

Modify flow table offload to support unidirectional connections by
extending enum nf_flow_flags with new "NF_FLOW_HW_BIDIRECTIONAL" flag. Only
offload reply direction when the flag is set. This infrastructure change is
necessary to support offloading UDP NEW connections in original direction
in following patches in series.

Signed-off-by: default avatarVlad Buslov <vladbu@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 125f1c7f

 ("net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e681f711
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment