Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756686AbZJSPkw (ORCPT ); Mon, 19 Oct 2009 11:40:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753192AbZJSPkv (ORCPT ); Mon, 19 Oct 2009 11:40:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52062 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbZJSPkv (ORCPT ); Mon, 19 Oct 2009 11:40:51 -0400 Date: Mon, 19 Oct 2009 17:36:18 +0200 From: Oleg Nesterov To: Anirban Sinha Cc: linux-kernel@vger.kernel.org, David Miller , netdev@vger.kernel.org, Anirban Sinha Subject: Re: Kernel oops when clearing bgp neighbor info with TCP MD5SUM enabled Message-ID: <20091019153618.GA20967@redhat.com> References: <20091008.155429.02850661.davem@davemloft.net> <20091008.175703.83006470.davem@davemloft.net> <4ADA7EDC.5010402@anirban.org> <4ADB7856.7000803@anirban.org> <20091019121327.GA11423@redhat.com> <4ADC8677.7000607@anirban.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ADC8677.7000607@anirban.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 25 On 10/19, Anirban Sinha wrote: > > Once upon a time, like on 09-10-19 5:13 AM, Oleg Nesterov wrote: > > >> Is is > >> it illegal to schedule a work function from within a timer callback? > > > > Yes sure. > > hmm. may be in that case, that function needs to be re-written. OOPS!!!! I misread your question, didn't notice "il" above... I meant: yes sure it _is legal_ to schedule a work from within a timer callback (in fact it is legal from any context). Sorry for confusion. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/