summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2005-03-07 07:26:42 +0000
committersobomax <sobomax@FreeBSD.org>2005-03-07 07:26:42 +0000
commita5d845fec654f4b43610ba376ae17fa9309853b0 (patch)
tree0b22e0cd71756d80eb0006639568691eaa0e3623 /sys/powerpc
parent7d3d18d907337f6f78e665a6e87ad183892db3c8 (diff)
downloadFreeBSD-src-a5d845fec654f4b43610ba376ae17fa9309853b0.zip
FreeBSD-src-a5d845fec654f4b43610ba376ae17fa9309853b0.tar.gz
Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket
for the duration of the send() call. Such approach may be less than ideal in threading environment, when several threads share the same socket and it might happen that several of them are calling linux_send() at the same time with and without SO_NOSIGPIPE set. However, such race condition is very unlikely in practice, therefore this change provides practical improvement compared to the previous behaviour. PR: kern/76426 Submitted by: Steven Hartland <killing@multiplay.co.uk> MFC after: 3 days
Diffstat (limited to 'sys/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud