freebsd-nq/tools/regression/sockets
Bruce M Simpson a86ec33820 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
2006-12-23 21:07:07 +00:00
..
accept_fd_leak Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
accf_data_attach o setsockopt(2) cannot remove accept filter. [1] 2005-06-11 11:59:48 +00:00
kqueue Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
listen_backlog o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
listenclose Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
pr_atomic Drop all received data mbufs from a socket's queue if the MT_SONAME 2006-12-23 21:07:07 +00:00
reconnect Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
rtsocket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
sendfile o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
shutdown Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
sigpipe Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
socketpair o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_bindconnect o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_cmsg o Let getopt(3) report errors in command line arguments. 2006-05-31 08:10:34 +00:00
unix_passfd o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_sendtorace Add a short regression test to try to exercise races in the non-atomic 2006-11-15 12:43:45 +00:00
unix_socket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00