[BACK]Return to route.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / net

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/net/route.c between version 1.226 and 1.227

version 1.226, 2019/11/13 02:51:22 version 1.227, 2020/02/01 12:54:50
Line 2231  rtcache_percpu_init_cpu(void *p, void *a
Line 2231  rtcache_percpu_init_cpu(void *p, void *a
 percpu_t *  percpu_t *
 rtcache_percpu_alloc(void)  rtcache_percpu_alloc(void)
 {  {
         percpu_t *pc;  
   
         pc = percpu_alloc(sizeof(struct route *));          return percpu_create(sizeof(struct route *),
         percpu_foreach(pc, rtcache_percpu_init_cpu, NULL);              rtcache_percpu_init_cpu, NULL, NULL);
   
         return pc;  
 }  }
   
 const struct sockaddr *  const struct sockaddr *

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

CVSweb <webmaster@jp.NetBSD.org>