[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190311.161910.28459399773636110.davem@davemloft.net>
Date: Mon, 11 Mar 2019 16:19:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kjlu@....edu
Cc: pakki001@....edu, colin.king@...onical.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: fjes: fix potential NULL pointer dereferences
From: Kangjie Lu <kjlu@....edu>
Date: Mon, 11 Mar 2019 02:10:21 -0500
> adapter->control_wq = alloc_workqueue(DRV_NAME "/control",
> WQ_MEM_RECLAIM, 0);
> + if (!adapter->control_wq) {
> + err = -ENOMEM;
> + goto err_free_netdev;
> + }
This error path leaks adapter->txrx_wq.
Powered by blists - more mailing lists