]> 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)
commit21a776acfa1a4e6cf578957ad9b77ceff3fb5aa0
tree0682a151c68e647c4dba57093df13e821bb2dcdf
parenta9292fa70eb2b3618c54aff91243a8f1789ea993
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