Looks good to me.

Ethan

On Wed, Jan 18, 2012 at 16:09, Ben Pfaff <b...@nicira.com> wrote:
> Otherwise bad translations can stick around.
>
> Bug #9253.
> Reported-by: Paul Ingram <p...@nicira.com>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
>  ofproto/ofproto-dpif.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
> index d46fcf3..01a6f86 100644
> --- a/ofproto/ofproto-dpif.c
> +++ b/ofproto/ofproto-dpif.c
> @@ -5807,7 +5807,7 @@ static void
>  ofproto_unixctl_fdb_flush(struct unixctl_conn *conn, int argc OVS_UNUSED,
>                           const char *argv[], void *aux OVS_UNUSED)
>  {
> -    const struct ofproto_dpif *ofproto;
> +    struct ofproto_dpif *ofproto;
>
>     ofproto = ofproto_dpif_lookup(argv[1]);
>     if (!ofproto) {
> @@ -5815,6 +5815,7 @@ ofproto_unixctl_fdb_flush(struct unixctl_conn *conn, 
> int argc OVS_UNUSED,
>         return;
>     }
>     mac_learning_flush(ofproto->ml);
> +    ofproto->need_revalidate = true;
>
>     unixctl_command_reply(conn, 200, "table successfully flushed");
>  }
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to