[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161109.131835.328789401492370826.davem@davemloft.net>
Date: Wed, 09 Nov 2016 13:18:35 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fgao@...ai8.com
Cc: kaber@...sh.net, netdev@...r.kernel.org, gfree.wind@...il.com
Subject: Re: [PATCH net 1/1] driver: macvlan: Destroy new macvlan port if
macvlan_common_newlink failed.
From: fgao@...ai8.com
Date: Fri, 4 Nov 2016 10:28:49 +0800
> From: Gao Feng <fgao@...ai8.com>
>
> When there is no existing macvlan port in lowdev, one new macvlan port
> would be created. But it doesn't be destoried when something failed later.
> It casues some memleak.
>
> Now add one flag to indicate if new macvlan port is created.
>
> Signed-off-by: Gao Feng <fgao@...ai8.com>
Looks good, applied, thanks.
Powered by blists - more mailing lists