[lkml]   [2003]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] IPv6: Functions Clean-up
   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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.063 / U:7.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site