From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 9 Aug 2001 16:30:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 9 Aug 2001 16:30:33 -0400 Received: from pizda.ninka.net ([216.101.162.242]:6272 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Thu, 9 Aug 2001 16:30:19 -0400 From: "David S. Miller" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15218.62166.839967.47354@pizda.ninka.net> Date: Thu, 9 Aug 2001 13:30:14 -0700 (PDT) To: Sampsa Ranta Cc: Alan Cox , Subject: Re: Linux 2.4.7-ac9 (breaks ATM connect) In-Reply-To: In-Reply-To: X-Mailer: VM 6.75 under 21.1 (patch 13) "Crater Lake" XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Sampsa Ranta writes: > Pardon me, bugs come in too easy.. > > - vci != ATM_VCI_ANY && vci >> dev->ci_range.vci_bits)) > + vci != ATM_VCI_ANY && vci >= 1 << dev->ci_range.vci_bits)) > This is rediculious, why has this expression changed when right above it is the same thing: vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC && Shouldn't we be changing that "vpi >> dev->ci_range.vpi_bits" boolean test as well? Later, David S. Miller davem@redhat.com