summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrstone <rstone@FreeBSD.org>2012-09-27 20:12:51 +0000
committerrstone <rstone@FreeBSD.org>2012-09-27 20:12:51 +0000
commit9462cb164169ec9d8c369c666eac8bd7e7476de7 (patch)
tree2c8fe38dcfd2eb69340ca18ad589a36d059c44f4 /lib/libc
parent2971b4a1848640e101b8f4080426f14ec481a081 (diff)
downloadFreeBSD-src-9462cb164169ec9d8c369c666eac8bd7e7476de7.zip
FreeBSD-src-9462cb164169ec9d8c369c666eac8bd7e7476de7.tar.gz
Ensure that all cases that enqueue a netgraph item for delivery by a
ngthread properly set the item's depth to 1. In particular, prior to this change if ng_snd_item failed to acquire a lock on a node, the item's depth would not be set at all. This fix ensures that the error code from rcvmsg/ rcvdata is properly passed back to the apply callback. For example, this fixes a bug where an error from rcvmsg/rcvdata would not previously propagate back to a libnetgraph consumer when the message was queued. Reviewed by: mav MFC after: 1 month Sponsored by: Sandvine Incorporated
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud