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

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

Diff for /src/sys/netinet6/raw_ip6.c between version 1.152 and 1.153

version 1.152, 2016/10/31 04:16:25 version 1.153, 2016/11/18 06:50:04
Line 66  __KERNEL_RCSID(0, "$NetBSD$");
Line 66  __KERNEL_RCSID(0, "$NetBSD$");
   
 #ifdef _KERNEL_OPT  #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"  #include "opt_ipsec.h"
   #include "opt_net_mpsafe.h"
 #endif  #endif
   
 #include <sys/param.h>  #include <sys/param.h>
Line 935  static int
Line 936  static int
 rip6_purgeif(struct socket *so, struct ifnet *ifp)  rip6_purgeif(struct socket *so, struct ifnet *ifp)
 {  {
   
   #ifndef NET_MPSAFE
         mutex_enter(softnet_lock);          mutex_enter(softnet_lock);
   #endif
         in6_pcbpurgeif0(&raw6cbtable, ifp);          in6_pcbpurgeif0(&raw6cbtable, ifp);
         in6_purgeif(ifp);          in6_purgeif(ifp);
         in6_pcbpurgeif(&raw6cbtable, ifp);          in6_pcbpurgeif(&raw6cbtable, ifp);
   #ifndef NET_MPSAFE
         mutex_exit(softnet_lock);          mutex_exit(softnet_lock);
   #endif
   
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153

CVSweb <webmaster@jp.NetBSD.org>