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

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

Diff for /src/sys/netinet/udp_usrreq.c between version 1.192 and 1.193

version 1.192, 2014/01/02 18:29:01 version 1.193, 2014/01/04 14:18:12
Line 231  do_udpinit(void)
Line 231  do_udpinit(void)
 {  {
   
         in_pcbinit(&udbtable, udbhashsize, udbhashsize);          in_pcbinit(&udbtable, udbhashsize, udbhashsize);
           udpstat_percpu = percpu_alloc(sizeof(uint64_t) * UDP_NSTATS);
   
         MOWNER_ATTACH(&udp_tx_mowner);          MOWNER_ATTACH(&udp_tx_mowner);
         MOWNER_ATTACH(&udp_rx_mowner);          MOWNER_ATTACH(&udp_rx_mowner);
Line 252  udp_init(void)
Line 253  udp_init(void)
 {  {
   
         sysctl_net_inet_udp_setup(NULL);          sysctl_net_inet_udp_setup(NULL);
         udpstat_percpu = percpu_alloc(sizeof(uint64_t) * UDP_NSTATS);  
   
         udp_init_common();          udp_init_common();
 }  }

Legend:
Removed from v.1.192  
changed lines
  Added in v.1.193

CVSweb <webmaster@jp.NetBSD.org>