Acked-by: Dennis Flynn <[email protected]>

On Thu, Apr 16, 2015 at 5:49 PM, Ben Pfaff <[email protected]> wrote:

> Found by LLVM scan-build.
>
> Reported-by: Kevin Lo <[email protected]>
> Signed-off-by: Ben Pfaff <[email protected]>
> ---
>  vswitchd/bridge.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
> index ea7d788..ee96f38 100644
> --- a/vswitchd/bridge.c
> +++ b/vswitchd/bridge.c
> @@ -3920,12 +3920,12 @@ static void
>  bridge_aa_refresh_queued(struct bridge *br)
>  {
>      struct ovs_list *list = xmalloc(sizeof *list);
> -    struct bridge_aa_vlan *node;
> +    struct bridge_aa_vlan *node, *next;
>
>      list_init(list);
>      ofproto_aa_vlan_get_queued(br->ofproto, list);
>
> -    LIST_FOR_EACH(node, list_node, list) {
> +    LIST_FOR_EACH_SAFE (node, next, list_node, list) {
>          struct port *port;
>
>          VLOG_INFO("ifname=%s, vlan=%u, oper=%u", node->port_name,
> node->vlan,
> --
> 2.1.3
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to