[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180416.100210.796567683447229503.davem@davemloft.net>
Date: Mon, 16 Apr 2018 10:02:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: labbott@...hat.com, sd@...asysnail.net,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net] Revert "macsec: missing dev_put() on error in
macsec_newlink()"
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Mon, 16 Apr 2018 13:17:50 +0300
> This patch is just wrong, sorry. I was trying to fix a static checker
> warning and misread the code. The reference taken in macsec_newlink()
> is released in macsec_free_netdev() when the netdevice is destroyed.
>
> This reverts commit 5dcd8400884cc4a043a6d4617e042489e5d566a9.
>
> Reported-by: Laura Abbott <labbott@...hat.com>
> Fixes: 5dcd8400884c ("macsec: missing dev_put() on error in macsec_newlink()")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> Acked-by: Sabrina Dubroca <sd@...asysnail.net>
> ---
> I sent this earlier but I messed up the CC list. I've updated the
> commit message as well.
Applied, thanks Dan.
Powered by blists - more mailing lists