[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190815.124521.638274291598387510.davem@davemloft.net>
Date: Thu, 15 Aug 2019 12:45:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wenwen@...uga.edu
Cc: christopher.lee@...i.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: myri10ge: fix memory leaks
From: Wenwen Wang <wenwen@...uga.edu>
Date: Wed, 14 Aug 2019 01:38:39 -0500
> In myri10ge_probe(), myri10ge_alloc_slices() is invoked to allocate slices
> related structures. Later on, myri10ge_request_irq() is used to get an irq.
> However, if this process fails, the allocated slices related structures are
> not deallocated, leading to memory leaks. To fix this issue, revise the
> target label of the goto statement to 'abort_with_slices'.
>
> Signed-off-by: Wenwen Wang <wenwen@...uga.edu>
Applied, thanks.
Powered by blists - more mailing lists