[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <kp60c6$rn$2@ger.gmane.org>
Date: Tue, 11 Jun 2013 02:00:38 +0000 (UTC)
From: Cong Wang <xiyou.wangcong@...il.com>
To: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 02/12] vxlan: fix race between flush and
incoming learning
On Mon, 10 Jun 2013 at 20:24 GMT, Stephen Hemminger <stephen@...workplumber.org> wrote:
> It is possible for a packet to arrive during vxlan_stop(), and
> have a dynamic entry created. Close this by checking if device
> is up.
>
> CPU1 CPU2
> vxlan_stop
> vxlan_flush
> hash_lock acquired
> vxlan_encap_recv
> vxlan_snoop
> waiting for hash_lock
> hash_lock relased
> vxlan_flush done
> hash_lock acquired
> vxlan_fdb_create
>
> Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists