All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <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
Date: Sun, 23 Feb 2003 22:54:26 -0800 (PST)	[thread overview]
Message-ID: <20030223.225426.28829614.davem@redhat.com> (raw)
In-Reply-To: <20030224.125702.13403857.yoshfuji@linux-ipv6.org>

   From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
   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.

  parent reply	other threads:[~2003-02-24  6:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-03  2:54 [PATCH] IPv6: Functions Clean-up YOSHIFUJI Hideaki / 吉藤英明
2002-11-03 13:00 ` Andras Kis-Szabo
2002-11-03 12:03   ` David S. Miller
2002-11-03 12:08   ` Pekka Savola
2002-11-03 13:16   ` YOSHIFUJI Hideaki / 吉藤英明
2002-11-03 13:20     ` YOSHIFUJI Hideaki / 吉藤英明
2002-11-03 13:22     ` James Morris
2002-11-03 14:27     ` Andras Kis-Szabo
2003-02-23  9:18 ` David S. Miller
2003-02-24  3:57   ` YOSHIFUJI Hideaki / 吉藤英明
2003-02-24  6:25     ` David S. Miller
2003-02-24  6:54     ` David S. Miller [this message]
2003-02-24  7:18       ` YOSHIFUJI Hideaki / 吉藤英明
2003-02-24  7:29         ` YOSHIFUJI Hideaki / 吉藤英明
2003-02-24  7:18           ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030223.225426.28829614.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=usagi@linux-ipv6.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.