[ovs-dev] [PATCH] bridge: Eject NORMAL flows from datapath after bridge flush.

Jesse Gross jesse at nicira.com
Thu Oct 22 18:36:50 UTC 2009

reid at nicira.com wrote:
> Would you mind clarifying the commit message a little?  I feel like:
> "This means that existing flows can continue as is but flooding packets
> because we don't learn the MAC addresses as the flows never come to
> userspace."
> is missing a word or two after 'flooding packets'.
>   -Reid

I changed the implementation slightly and hopefully made the commit 
message somewhat clearer when I updated it.  This is the new version:

    bridge: Eject NORMAL flows without a learning entry from datapath.
    When revalidating NORMAL flows we consult the learning table, which
    could be empty if a packet hasn't come to userspace in a while or we
    just did a bridge flush.  If there is no learning entry then existing
    flows will begin flooding packets until a new flow is setup.  The
    problem is worse with bonding because we can receive one of the flooded
    packets back on a bond slave and learn that port, causing us to send
    traffic to the wrong location.

More information about the dev mailing list