Searched hist:175821 (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.3-release/tools/regression/sockets/unix_sorflush/ | ||
H A D | Makefile | 175821 Wed Jan 30 13:23:34 MST 2008 rwatson Add unix_sorflush, a regression test for the following scenario: - 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> |
H A D | unix_sorflush.c | 175821 Wed Jan 30 13:23:34 MST 2008 rwatson Add unix_sorflush, a regression test for the following scenario: - 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> |
Completed in 52 milliseconds