Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750817AbWHOX1d (ORCPT ); Tue, 15 Aug 2006 19:27:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750815AbWHOX1d (ORCPT ); Tue, 15 Aug 2006 19:27:33 -0400 Received: from smtp.osdl.org ([65.172.181.4]:23759 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750809AbWHOX1c (ORCPT ); Tue, 15 Aug 2006 19:27:32 -0400 Date: Tue, 15 Aug 2006 16:23:21 -0700 From: Stephen Hemminger To: David Miller Cc: mitch.a.williams@intel.com, notting@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: bonding: cannot remove certain named devices Message-ID: <20060815162321.03eaa2ee@localhost.localdomain> In-Reply-To: <20060815.155612.111203542.davem@davemloft.net> References: <20060815214914.GA5307@nostromo.devel.redhat.com> <20060815154444.286e12ed@localhost.localdomain> <20060815.155612.111203542.davem@davemloft.net> Organization: OSDL X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 896 Lines: 22 On Tue, 15 Aug 2006 15:56:12 -0700 (PDT) David Miller wrote: > From: Stephen Hemminger > Date: Tue, 15 Aug 2006 15:44:44 -0700 > > > IMHO idiots who put space's in filenames should be ignored. As long > > as the bonding code doesn't throw a fatal error, it has every right > > to return "No such device" to the fool. > > I agree that whitespace in device names push the limits of sanity. > > But if we believe that, we should enforce it in dev_valid_name(). > > Does anyone really mind if I add the whitespace check there? That is a good idea since it protects other interfaces from possible problems. - 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/