[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53ED655E.6090309@huawei.com>
Date: Fri, 15 Aug 2014 09:41:50 +0800
From: Ding Tianhong <dingtianhong@...wei.com>
To: David Miller <davem@...hat.com>, <eric.dumazet@...il.com>
CC: <cwang@...pensource.com>, <jacob.e.keller@...el.com>,
<kaber@...sh.net>, <netdev@...r.kernel.org>
Subject: Re: [PATCH net] macvlan: Fix the bug when destroy macvlan dev port
On 2014/8/15 5:32, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Thu, 14 Aug 2014 10:38:30 -0700
>
>> On Thu, 2014-08-14 at 09:58 -0700, Cong Wang wrote:
>>> On Thu, Aug 14, 2014 at 2:12 AM, Ding Tianhong <dingtianhong@...wei.com> wrote:
>>>>
>>>> To fix this problem, we need to check whether the port is exist when calling
>>>> macvlan_port_destroy(), do nothing if the port has been destroyed yet.
>>>>
>>>
>>> As I said, this will make the first call of macvlan_port_destroy()
>>> free the port,
>>> which was freed by the last one before.
>>>
>>> Why not just revert your change? It doesn't give any benefit.
>>> --
>>
>> Yes please, I think patch should be reverted.
>
> I agree, this should be reverted, I'm going to do it myself.
>
>
Ok, sorry to trouble you.
>
> .
>
--
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