Re: [PATCH 03/12] mISDN: fix race in timer canceling on module unloading

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 15:02:36 +0400 > Using timer_pending() without additional syncronization is racy, > del_timer_sync() must be used here for waiting in-flight handler. > Bug caught with help from "debug-objects" during random insmod/rmmod. > > Signed-off-by:

[PATCH 03/12] mISDN: fix race in timer canceling on module unloading

2012-12-14 Thread Konstantin Khlebnikov
Using timer_pending() without additional syncronization is racy, del_timer_sync() must be used here for waiting in-flight handler. Bug caught with help from "debug-objects" during random insmod/rmmod. Signed-off-by: Konstantin Khlebnikov Cc: Karsten Keil Cc: David S. Miller Cc: netdev ---

[PATCH 03/12] mISDN: fix race in timer canceling on module unloading

2012-12-14 Thread Konstantin Khlebnikov
Using timer_pending() without additional syncronization is racy, del_timer_sync() must be used here for waiting in-flight handler. Bug caught with help from debug-objects during random insmod/rmmod. Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org Cc: Karsten Keil i...@linux-pingi.de

Re: [PATCH 03/12] mISDN: fix race in timer canceling on module unloading

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov khlebni...@openvz.org Date: Fri, 14 Dec 2012 15:02:36 +0400 Using timer_pending() without additional syncronization is racy, del_timer_sync() must be used here for waiting in-flight handler. Bug caught with help from debug-objects during random insmod/rmmod.