Re: [PATCH] drm/i915: Fix use-after-free of context during free_contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 July 2017 at 00:05, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> When iterating the list of contexts to free, we need to use a safe
> iterator as we are freeing the link as we go. Pass an extra thick brown
> paper bag.
>
> Fixes: 5f09a9c8ab6b ("drm/i915: Allow contexts to be unreferenced locklessly")
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux