[BACK]Return to ip_input.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/ip_input.c between version 1.347 and 1.348

version 1.347, 2016/12/12 03:55:57 version 1.348, 2017/01/24 07:09:24
Line 866  void
Line 866  void
 ip_slowtimo(void)  ip_slowtimo(void)
 {  {
   
   #ifndef NET_MPSAFE
         mutex_enter(softnet_lock);          mutex_enter(softnet_lock);
         KERNEL_LOCK(1, NULL);          KERNEL_LOCK(1, NULL);
   #endif
   
         ip_reass_slowtimo();          ip_reass_slowtimo();
   
   #ifndef NET_MPSAFE
         KERNEL_UNLOCK_ONE(NULL);          KERNEL_UNLOCK_ONE(NULL);
         mutex_exit(softnet_lock);          mutex_exit(softnet_lock);
   #endif
 }  }
   
 /*  /*
Line 1603  sysctl_net_inet_ip_pmtudto(SYSCTLFN_ARGS
Line 1607  sysctl_net_inet_ip_pmtudto(SYSCTLFN_ARGS
         if (tmp < 0)          if (tmp < 0)
                 return (EINVAL);                  return (EINVAL);
   
           /* XXX NOMPSAFE still need softnet_lock */
         mutex_enter(softnet_lock);          mutex_enter(softnet_lock);
   
         ip_mtudisc_timeout = tmp;          ip_mtudisc_timeout = tmp;

Legend:
Removed from v.1.347  
changed lines
  Added in v.1.348

CVSweb <webmaster@jp.NetBSD.org>