public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: vinod.koul@intel.com (Vinod Koul)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dmaengine: sun4i: fix unsafe list iteration
Date: Wed, 30 Sep 2015 12:18:17 +0530	[thread overview]
Message-ID: <20150930064817.GD21690@vkoul-mobl.iind.intel.com> (raw)
In-Reply-To: <1442175353-4433-1-git-send-email-emilio@elopez.com.ar>

On Sun, Sep 13, 2015 at 05:15:53PM -0300, Emilio L?pez wrote:
> Currently, sun4i_dma_free_contract iterates over lists and frees memory
> as it goes through them, causing reads to recently freed memory to
> be performed. Fix this by using the safe version of the iterator, so
> freed memory is not referenced at all.

Applied, thanks

-- 
~Vinod

      parent reply	other threads:[~2015-09-30  6:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 20:15 [PATCH] dmaengine: sun4i: fix unsafe list iteration Emilio López
2015-09-14 20:34 ` Maxime Ripard
2015-09-30  6:48 ` Vinod Koul [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150930064817.GD21690@vkoul-mobl.iind.intel.com \
    --to=vinod.koul@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox