openvswitch: Allow attaching helper in later commit
authorYi-Hung Wei <yihung.wei@gmail.com>
Fri, 4 Oct 2019 16:26:44 +0000 (09:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 13:23:43 +0000 (15:23 +0200)
commit248d45f1e1934f7849fbdc35ef1e57151cf063eb
tree0682a151c68e647c4dba57093df13e821bb2dcdf
parentfbe3d0c77c83722d7f1c00924e0ed39df2d1d041
openvswitch: Allow attaching helper in later commit

This patch allows to attach conntrack helper to a confirmed conntrack
entry.  Currently, we can only attach alg helper to a conntrack entry
when it is in the unconfirmed state.  This patch enables an use case
that we can firstly commit a conntrack entry after it passed some
initial conditions.  After that the processing pipeline will further
check a couple of packets to determine if the connection belongs to
a particular application, and attach alg helper to the connection
in a later stage.

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c