diff options
author | 2023-02-01 17:30:54 +0100 | |
---|---|---|
committer | 2023-02-03 09:31:24 +0000 | |
commit | 29744a10c59ede4f996c0c893127ac11bcc85c0c (patch) | |
tree | d0865ca1cab917a14ecb1a733fbf48d31cb6cc56 /net/netfilter/xt_ecn.c | |
parent | net: lan966x: Add VCAP debugFS support (diff) | |
download | linux-29744a10c59ede4f996c0c893127ac11bcc85c0c.tar.gz linux-29744a10c59ede4f996c0c893127ac11bcc85c0c.tar.bz2 linux-29744a10c59ede4f996c0c893127ac11bcc85c0c.zip |
net: flow_offload: provision conntrack info in ct_metadata
In order to offload connections in other states besides "established" the
driver offload callbacks need to have access to connection conntrack info.
Flow offload intermediate representation data structure already contains
that data encoded in 'cookie' field, so just reuse it in the drivers.
Reject offloading IP_CT_NEW connections for now by returning an error in
relevant driver callbacks based on value of ctinfo. Support for offloading
such connections will need to be added to the drivers afterwards.
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_ecn.c')
0 files changed, 0 insertions, 0 deletions