On 18 Nov 2026, at 22:55, Aaron Conole wrote:

> 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]>
> ---

With the modification in v3 it still looks good to me.

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

Reply via email to