linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH v2] mmc: fix host release issue after discard operation
           [not found] <1382810624-17659-1-git-send-email-rjui@broadcom.com>
           [not found] ` <5277EA3A.4020001@broadcom.com>
    @ 2013-11-26 22:06 ` Chris Ball
      2013-11-26 22:35   ` Ray Jui
      1 sibling, 1 reply; 3+ messages in thread
    From: Chris Ball @ 2013-11-26 22:06 UTC (permalink / raw)
      To: Ray Jui; +Cc: Seungwon Jeon, linux-kernel, linux-mmc
    
    Hi Ray,
    
    On Sat, Oct 26 2013, Ray Jui wrote:
    > Under function mmc_blk_issue_rq, after an MMC discard operation,
    > the MMC request data structure may be freed in memory. Later in
    > the same function, the check of req->cmd_flags & MMC_REQ_SPECIAL_MASK
    > is dangerous and invalid. It causes the MMC host not to be released
    > when it should
    >
    > This patch fixes the issue by marking the special request down before
    > the discard/flush operation
    >
    > Reported by: Harold (SoonYeal) Yang <haroldsy@broadcom.com>
    > Signed-off-by: Ray Jui <rjui@broadcom.com>
    > Reviewed-by: Seungwon Jeon <tgih.jun@samsung.com>
    
    Thanks, pushed to mmc-next for 3.14 and -stable.
    
    - Chris.
    -- 
    Chris Ball   <cjb@laptop.org>   <http://printf.net/>
    
    ^ permalink raw reply	[flat|nested] 3+ messages in thread

  • end of thread, other threads:[~2013-11-26 22:36 UTC | newest]
    
    Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1382810624-17659-1-git-send-email-rjui@broadcom.com>
         [not found] ` <5277EA3A.4020001@broadcom.com>
    2013-11-18 11:24   ` [PATCH v2] mmc: fix host release issue after discard operation Seungwon Jeon
    2013-11-26 22:06 ` Chris Ball
    2013-11-26 22:35   ` Ray Jui
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).