Date: Tue, 2 Dec 2008 03:58:10 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185543 - head/sys/sys Message-ID: <200812020358.mB23wAtL047722@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Tue Dec 2 03:58:10 2008 New Revision: 185543 URL: http://svn.freebsd.org/changeset/base/185543 Log: return ENOBUFS when ring is full Modified: head/sys/sys/buf_ring.h Modified: head/sys/sys/buf_ring.h ============================================================================== --- head/sys/sys/buf_ring.h Tue Dec 2 03:39:34 2008 (r185542) +++ head/sys/sys/buf_ring.h Tue Dec 2 03:58:10 2008 (r185543) @@ -92,7 +92,7 @@ buf_ring_enqueue(struct buf_ring *br, vo if (prod_next == cons_tail) { critical_exit(); - return (ENOSPC); + return (ENOBUFS); } success = atomic_cmpset_int(&br->br_prod_head, prod_head,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812020358.mB23wAtL047722>