On Wed Nov 18, 2026 at 10:55 PM CET, Aaron Conole via dev wrote:
> External email: Use caution opening links or attachments
>
>
> Conntrack has a number of places where it would be useful to monitor
> changes.  Currently, these are hard coded spots for things like alg
> handlers that need to fire when connections are added and transition
> so that we can monitor packets.  This leads to very difficult to read
> code, with messy branches all over the place, and a bunch of unrelated
> functions mixed together.
>
> Rename the conn_update_state_alg() function to conn_update_state_dist()
> and abstract away the FTP specific hook logic.  The original function
> required manual modification to add additional handlers, which we want
> to avoid and make more generic for future additions (which can include
> observers for hardware offloads).  The hooks are priority based so
> that some high priority hooks can run early, while later hooks that
> consume the event can run later.
>
> Acked-by: Eelco Chaudron <[email protected]>
> Signed-off-by: Aaron Conole <[email protected]>

I'm only remotely familiar with ALGs, but the observer itself looks
better to structure the code and its implementation seems correct.

Acked-by: Gaetan Rivet <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to