Re: [patch 01/16] s390: tape: Use del_timer_sync()

From: Heiko Carstens
Date: Mon Mar 24 2014 - 02:22:21 EST


On Sun, Mar 23, 2014 at 03:09:24PM -0000, Thomas Gleixner wrote:
> del_timer() does not wait for a possible running callback to
> complete. So the call side might free request and the associated
> objects while on another cpu the timer handler runs.

[...]

>
> - del_timer(&timeout);
> + del_timer_sync(&timeout);

Applied, thanks.

--
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/