[ovs-dev] [patch_v4 4/6] Unset CS_NEW for established connections.
Daniele Di Proietto
diproiettod at ovn.org
Sat Jan 28 01:57:38 UTC 2017
2017-01-24 20:40 GMT-08:00 Darrell Ball <dlu998 at gmail.com>:
> Signed-off-by: Darrell Ball <dlu998 at gmail.com>
> ---
> lib/conntrack.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/conntrack.c b/lib/conntrack.c
> index 34728a6..aaecb00 100644
> --- a/lib/conntrack.c
> +++ b/lib/conntrack.c
> @@ -443,6 +443,7 @@ conn_update_state(struct conntrack *ct, struct dp_packet *pkt,
> switch (res) {
> case CT_UPDATE_VALID:
> *state |= CS_ESTABLISHED;
> + *state &= ~CS_NEW;
Maybe I'm missing something, but can *state be !=0 at this point?
> if (ctx->reply) {
> *state |= CS_REPLY_DIR;
> }
> --
> 1.9.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
More information about the dev
mailing list