Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Feb 2003 02:00:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Feb 2003 02:00:41 -0500 Received: from pizda.ninka.net ([216.101.162.242]:5348 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Mon, 24 Feb 2003 02:00:40 -0500 Date: Sun, 23 Feb 2003 22:54:26 -0800 (PST) Message-Id: <20030223.225426.28829614.davem@redhat.com> To: yoshfuji@linux-ipv6.org Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com, netfilter-devel@lists.netfilter.org, kuznet@ms2.inr.ac.ru, usagi@linux-ipv6.org Subject: Re: [PATCH] IPv6: Functions Clean-up From: "David S. Miller" In-Reply-To: <20030224.125702.13403857.yoshfuji@linux-ipv6.org> References: <20021103.115427.104445233.yoshfuji@linux-ipv6.org> <20030223.011816.108201183.davem@redhat.com> <20030224.125702.13403857.yoshfuji@linux-ipv6.org> X-FalunGong: Information control. X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 890 Lines: 27 From: YOSHIFUJI Hideaki / 吉藤英明 Date: Mon, 24 Feb 2003 12:57:02 +0900 (JST) Here's the patch for linux-2.5.62. Hideaki-san, do you try to compile the patches you send to me? :-) -static void ipv6_wash_prefix(struct in6_addr *pfx, int plen) +static void ipv6_addr_prefix(struct in6_addr *pfx, + const struct in6_addr *addr, int plen) { int b = plen&0x7; - int o = (plen + 7)>>3; + int o = plen>>3; + memcpy(prefix, addr, o); Where is the variable 'prefix' declared? You probably mean 'pfx->s6_addr' and that is the change I will make in my tree. Thanks. - 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/