cvs commit: src/sys/net raw_cb.c raw_usrreq.c

Robert Watson rwatson at FreeBSD.org
Fri Jun 2 08:28:46 UTC 2006


rwatson     2006-06-02 08:27:15 UTC

  FreeBSD src repository

  Modified files:
    sys/net              raw_cb.c raw_usrreq.c 
  Log:
  raw_disconnect() now disconnects but does not detach the raw pcb.  As a
  result, raw_uabort() now needs to call raw_detach() directly.  As
  raw_uabort() is never called, and raw_disconnect() is probably not ever
  actually called in practice, this is likely not a functional change, but
  improves congruence between protocols, and avoids a NULL raw cb pointer
  after disconnect, which could result in a panic.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.34      +1 -3      src/sys/net/raw_cb.c
  1.42      +1 -0      src/sys/net/raw_usrreq.c


More information about the cvs-src mailing list