bms         2006-12-23 21:07:07 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Added files:
    tools/regression/sockets/pr_atomic Makefile pr_atomic.c 
  Log:
  Drop all received data mbufs from a socket's queue if the MT_SONAME
  mbuf is dropped, to preserve the invariant in the PR_ADDR case.
  
  Add a regression test to detect this condition, but do not hook it
  up to the build for now.
  
  PR:             kern/38495
  Submitted by:   James Juran
  Reviewed by:    sam, rwatson
  Obtained from:  NetBSD
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.287     +9 -11     src/sys/kern/uipc_socket.c
  1.1       +7 -0      src/tools/regression/sockets/pr_atomic/Makefile (new)
  1.1       +109 -0    src/tools/regression/sockets/pr_atomic/pr_atomic.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to