]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit666cc39c42a58dd5e71343929d328486bcf479f2
tree0682a151c68e647c4dba57093df13e821bb2dcdf
parent7687fadb1d774a76a470701b24fe449ef049ab22
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