diff options
author | Paul Blakey <paulb@nvidia.com> | 2021-12-14 19:24:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-17 18:06:36 -0800 |
commit | 635d448a1cce4b4ebee52b351052c70434fa90ea (patch) | |
tree | 278c626250b08201614fe8272cb819c1d8a3348b /net/sched/cls_api.c | |
parent | 3849595866166b23bf6a0cb9ff87e06423167f67 (diff) |
net: openvswitch: Fix matching zone id for invalid conns arriving from tc
Zone id is not restored if we passed ct and ct rejected the connection,
as there is no ct info on the skb.
Save the zone from tc skb cb to tc skb extension and pass it on to
ovs, use that info to restore the zone id for invalid connections.
Fixes: d29334c15d33 ("net/sched: act_api: fix miss set post_ct for ovs after do conntrack in act_ct")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/cls_api.c')
-rw-r--r-- | net/sched/cls_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index ff8a9383bf1c..35c74bdde848 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -1625,6 +1625,7 @@ int tcf_classify(struct sk_buff *skb, ext->chain = last_executed_chain; ext->mru = cb->mru; ext->post_ct = cb->post_ct; + ext->zone = cb->zone; } return ret; |