[ovs-dev] [branch-2.9] conntrack: Fix clang warning.

Ilya Maximets i.maximets at samsung.com
Wed May 8 11:00:19 UTC 2019


On 08.05.2019 12:51, Darrell Ball wrote:
> Reported-by: Ilya Maximets <i.maximets at samsung.com>
> Fixes: 374fcb5249f1 ("conntrack: Fix race for NAT cleanup.")
> Signed-off-by: Darrell Ball <dlu998 at gmail.com>
> ---
>  lib/conntrack.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/conntrack.c b/lib/conntrack.c
> index 0d71195..077bdca 100644
> --- a/lib/conntrack.c
> +++ b/lib/conntrack.c
> @@ -2571,7 +2571,7 @@ conntrack_flush(struct conntrack *ct, const uint16_t *zone)
>                  }
>              }
>          }
> -        ct_lock_unlock(&ct->buckets[i].lock);
> +        ct_lock_unlock(&ctb->lock);
>          ovs_mutex_unlock(&ctb->cleanup_mutex);
>      }

Thanks. This fixes TravisCI build.
I updated the commit hash in 'Fixes' tag, because there is no such
object '374fcb5249f1' in git, and pushed to branch-2.9.

Best regards, Ilya Maximets.


More information about the dev mailing list