From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Benc Subject: Re: vxlan: use after free error Date: Tue, 30 May 2017 13:54:20 +0200 Message-ID: <20170530135420.51ff8617@griffin> References: <03ac7d79-02b7-4bee-d318-9731413bf97b@mellanox.com> <20170530134755.6675023c@griffin> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Mark Bloch , "davem@davemloft.net" , pravin shelar , Alexander Duyck , Nicolas Dichtel , "netdev@vger.kernel.org" , Balki Raman To: Roopa Prabhu Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37270 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750946AbdE3LyZ (ORCPT ); Tue, 30 May 2017 07:54:25 -0400 In-Reply-To: <20170530134755.6675023c@griffin> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 30 May 2017 13:47:55 +0200, Jiri Benc wrote: > On Mon, 29 May 2017 11:37:22 -0700, Roopa Prabhu wrote: > > This code is also hit via the OVS path, and i don't see a problem with > > your changes and analysis but i am not too familiar with the ovs call > > path. I see that the relevant developers are CC'ed. > > I don't see a problem with ovs and this patch. Ovs calls > rtnl_delete_link. > > I'd prefer to have the code in a vxlan_vs_del_dev function to be > symmetrical with vxlan_vs_add_dev similarly to what Roopa suggested. If > you keep me in CC while resending I'll be happy to add my ack to the > patch. I replied to a wrong email in the thread but I guess it's obvious what I wanted to reply to :-) Sorry for that, Jiri