| To: | yoshfuji@xxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] IPv6: Functions Clean-up |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Sun, 23 Feb 2003 22:54:26 -0800 (PST) |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, kuznet@xxxxxxxxxxxxx, usagi@xxxxxxxxxxxxxx |
| In-reply-to: | <20030224.125702.13403857.yoshfuji@xxxxxxxxxxxxxx> |
| References: | <20021103.115427.104445233.yoshfuji@xxxxxxxxxxxxxx> <20030223.011816.108201183.davem@xxxxxxxxxx> <20030224.125702.13403857.yoshfuji@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] IPv6: Privacy Extensions for Stateless Address Autoconfiguration in IPv6, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] IPv6: Functions Clean-up, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | Re: [PATCH] IPv6: Functions Clean-up, David S. Miller |
| Next by Thread: | Re: [PATCH] IPv6: Functions Clean-up, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |