[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120913.150659.17331564270446673.davem@davemloft.net>
Date: Thu, 13 Sep 2012 15:06:59 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: keil@...systems.de
Cc: netdev@...r.kernel.org, stable@...nel.org
Subject: Re: [PATCH] mISDN: Fix wrong usage of flush_work_sync while
holding locks
From: David Miller <davem@...emloft.net>
Date: Thu, 13 Sep 2012 14:59:37 -0400 (EDT)
> From: Karsten Keil <keil@...systems.de>
> Date: Thu, 13 Sep 2012 16:36:20 +0200
>
>> It is a bad idea to hold a spinlock and call flush_work_sync.
>> Move the workqueue cleanup outside the spinlock and use cancel_work_sync,
>> on closing the channel this seems to be the more correct function.
>> Remove the never used and constant return value of mISDN_freebchannel.
>>
>> Signed-off-by: Karsten Keil <keil@...systems.de>
>> Cc: <stable@...nel.org>
>
> Applied, thanks.
BTW, about -stable:
1) Even if it were appropriate to submit this directly to -stable,
stable@...nel.org is not the correct email address and you must
have seen the bounce produced by trying to send email there.
Rather, stable@...r.kernel.org is the correct address.
2) I queue up and submit networking bug fixes for -stable myself so
you should not submit them directly but rather make a request that
I add your patch to my networking -stable queue.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists