cvs commit: src/sys/netatalk ddp_pcb.c ddp_usrreq.c

Robert Watson rwatson at FreeBSD.org
Fri Mar 17 20:40:31 UTC 2006


rwatson     2006-03-17 20:40:17 UTC

  FreeBSD src repository

  Modified files:
    sys/netatalk         ddp_pcb.c ddp_usrreq.c 
  Log:
  Modify netatalk to ensure, and assert, that pcb's remain attached to
  sockets as long as the sockets have not been aborted or detached.  Do
  not try to free the socket in pru_detach(), since sofree() will do so,
  if needed, once pru_detach() returns.
  
  Annotate a bug in ddp_abort(), which fails to free the socket; this
  is probably OK as ddp_abort() should never be called, so should
  instead be deleted.
  
  Revision  Changes    Path
  1.48      +2 -3      src/sys/netatalk/ddp_pcb.c
  1.46      +9 -23     src/sys/netatalk/ddp_usrreq.c


More information about the cvs-src mailing list