Re: [Xen-devel] [PATCH 2/2] xen-blkfront: implement safe versionof llist_for_each_entry
From: Roger Pau Monné
Date: Mon Dec 10 2012 - 07:15:40 EST
On 07/12/12 21:20, Konrad Rzeszutek Wilk wrote:
> On Tue, Dec 04, 2012 at 03:21:53PM +0100, Roger Pau Monne wrote:
>> Implement a safe version of llist_for_each_entry, and use it in
>> blkif_free. Previously grants where freed while iterating the list,
>> which lead to dereferences when trying to fetch the next item.
>
> Looks like xen-blkfront is the only user of this llist_for_each_entry.
>
> Would it be more prudent to put the macro in the llist.h file?
I'm not able to find out who is the maintainer of llist, should I just
CC it's author?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/