[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.105.2.1 and 1.106

version 1.105.2.1, 2008/05/18 12:35:29 version 1.106, 2008/04/23 06:09:04
Line 528  rip_usrreq(struct socket *so, int req,
Line 528  rip_usrreq(struct socket *so, int req,
         s = splsoftnet();          s = splsoftnet();
   
         if (req == PRU_PURGEIF) {          if (req == PRU_PURGEIF) {
                 mutex_enter(softnet_lock);  
                 in_pcbpurgeif0(&rawcbtable, (struct ifnet *)control);                  in_pcbpurgeif0(&rawcbtable, (struct ifnet *)control);
                 in_purgeif((struct ifnet *)control);                  in_purgeif((struct ifnet *)control);
                 in_pcbpurgeif(&rawcbtable, (struct ifnet *)control);                  in_pcbpurgeif(&rawcbtable, (struct ifnet *)control);
                 mutex_exit(softnet_lock);  
                 splx(s);                  splx(s);
                 return (0);                  return (0);
         }          }
Line 550  rip_usrreq(struct socket *so, int req,
Line 548  rip_usrreq(struct socket *so, int req,
         switch (req) {          switch (req) {
   
         case PRU_ATTACH:          case PRU_ATTACH:
                 sosetlock(so);  
                 if (inp != 0) {                  if (inp != 0) {
                         error = EISCONN;                          error = EISCONN;
                         break;                          break;

Legend:
Removed from v.1.105.2.1  
changed lines
  Added in v.1.106

CVSweb <webmaster@jp.NetBSD.org>