openvswitch: set IPS_CONFIRMED in tmpl status only when commit is set in conntrack
authorXin Long <lucien.xin@gmail.com>
Sun, 16 Jul 2023 21:09:19 +0000 (17:09 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Jul 2023 08:06:36 +0000 (10:06 +0200)
commit8c8b733208058702da451b7d60a12c0ff90b6879
treedc860b3eaedc3dc4851872eb5663e99fd0e3c459
parent76622ced50a103e278ad560566b5e43d82f718c6
openvswitch: set IPS_CONFIRMED in tmpl status only when commit is set in conntrack

By not setting IPS_CONFIRMED in tmpl that allows the exp not to be removed
from the hashtable when lookup, we can simplify the exp processing code a
lot in openvswitch conntrack.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/openvswitch/conntrack.c