Re: [PATCH v2] mmc: fix host release issue after discard operation

2013-11-26 Thread Ray Jui
On 11/26/2013 2:06 PM, Chris Ball wrote: 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 dangerou

Re: [PATCH v2] mmc: fix host release issue after discard operation

2013-11-26 Thread Chris Ball
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 hos

RE: [PATCH v2] mmc: fix host release issue after discard operation

2013-11-18 Thread Seungwon Jeon
On Tue, November 05, 2013, Ray Jui wrote: > On 10/26/2013 11:03 AM, 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 > > i

Re: [PATCH v2] mmc: fix host release issue after discard operation

2013-11-04 Thread Ray Jui
On 10/26/2013 11:03 AM, 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

[PATCH v2] mmc: fix host release issue after discard operation

2013-10-26 Thread Ray Jui
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