summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/unix_sorflush/unix_sorflush.c
Commit message (Collapse)AuthorAgeFilesLines
* Garbage collect argc/argv and bump WARNS to 6ngie2015-04-111-1/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add unix_sorflush, a regression test for the following scenario:rwatson2008-01-301-0/+99
- Process (a) is blocked in read on a socket waiting on data. - Process (b) is blocked in shutdown() on a socket waiting on (a). - Process (c) delivers a signal to (b) interrupting its wait. When the signal is delivered, the kernel panics as sblock() fails in sorflush(). Even if it didn't panic, shutdown() would block potentially indefinitely waiting for recv() to succeeded. Fixes to follow. Reported by: Jos Backus <jos at catnook dot com>
OpenPOWER on IntegriCloud