Date: Sat, 23 Dec 2006 21:07:07 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/sockets/pr_atomic Makefile pr_atomic.c src/sys/kern uipc_socket.c Message-ID: <200612232107.kBNL777T079611@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612232107.kBNL777T079611>
