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

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

Diff for /src/sys/kern/uipc_socket.c between version 1.194 and 1.195

version 1.194, 2009/11/07 07:27:49 version 1.195, 2009/12/09 21:32:59
Line 1624  soshutdown(struct socket *so, int how)
Line 1624  soshutdown(struct socket *so, int how)
         return error;          return error;
 }  }
   
 int  void
 sodrain(struct socket *so)  soabortop(struct socket *so)
 {  {
         int error;  #if 0   /* ad@ wrote this, then disabled it as 'not working' */
   
         solock(so);          solock(so);
         so->so_state |= SS_ISDRAINING;          so->so_state |= SS_ISABORTING;
         cv_broadcast(&so->so_cv);          cv_broadcast(&so->so_cv);
         error = soshutdown(so, SHUT_RDWR);          soshutdown(so, SHUT_RDWR);
         sounlock(so);          sounlock(so);
   #endif
         return error;  
 }  }
   
 void  void

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195

CVSweb <webmaster@jp.NetBSD.org>