Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753624AbXLEGVE (ORCPT ); Wed, 5 Dec 2007 01:21:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751116AbXLEGUw (ORCPT ); Wed, 5 Dec 2007 01:20:52 -0500 Received: from mx12.go2.pl ([193.17.41.142]:53314 "EHLO poczta.o2.pl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750892AbXLEGUv (ORCPT ); Wed, 5 Dec 2007 01:20:51 -0500 Date: Wed, 5 Dec 2007 07:25:41 +0100 From: Jarek Poplawski To: Jarek Poplawski Cc: Joonwoo Park , netdev@vger.kernel.org, "'Linux Kernel Mailing List'" Subject: Re: NET: ASSERT_RTNL in __dev_set_promiscuity makes debug warning Message-ID: <20071205062540.GA987@ff.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4755D42E.7050602@gmail.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 17 On 04-12-2007 23:26, Jarek Poplawski wrote: ... > But, IMHO, blowing ASSERT_RTNL up in a few places shouldn't be much > worse. After all, how long such a debugging code should be kept. It > seems, at least sometimes we should be a bit more confident of how > it's called. I see this won't be done this way, but, if it were, then there is no reason to remove the second: documenting feature of ASSERT_RTNL, so some comment about locking should be added. Jarek P. -- 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/