[BACK]Return to raw_ip.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/raw_ip.c between version 1.146.2.6 and 1.146.2.7

version 1.146.2.6, 2016/10/05 20:56:09 version 1.146.2.7, 2017/02/05 13:40:59
Line 72  __KERNEL_RCSID(0, "$NetBSD$");
Line 72  __KERNEL_RCSID(0, "$NetBSD$");
 #include "opt_compat_netbsd.h"  #include "opt_compat_netbsd.h"
 #include "opt_ipsec.h"  #include "opt_ipsec.h"
 #include "opt_mrouting.h"  #include "opt_mrouting.h"
   #include "opt_net_mpsafe.h"
 #endif  #endif
   
 #include <sys/param.h>  #include <sys/param.h>
Line 806  rip_purgeif(struct socket *so, struct if
Line 807  rip_purgeif(struct socket *so, struct if
         s = splsoftnet();          s = splsoftnet();
         mutex_enter(softnet_lock);          mutex_enter(softnet_lock);
         in_pcbpurgeif0(&rawcbtable, ifp);          in_pcbpurgeif0(&rawcbtable, ifp);
   #ifdef NET_MPSAFE
           mutex_exit(softnet_lock);
   #endif
         in_purgeif(ifp);          in_purgeif(ifp);
   #ifdef NET_MPSAFE
           mutex_enter(softnet_lock);
   #endif
         in_pcbpurgeif(&rawcbtable, ifp);          in_pcbpurgeif(&rawcbtable, ifp);
         mutex_exit(softnet_lock);          mutex_exit(softnet_lock);
         splx(s);          splx(s);

Legend:
Removed from v.1.146.2.6  
changed lines
  Added in v.1.146.2.7

CVSweb <webmaster@jp.NetBSD.org>