summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_read.c
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>1999-09-28 12:59:18 +0000
committerpb <pb@FreeBSD.org>1999-09-28 12:59:18 +0000
commit3b30ad42290fed0d41cbf8a0bc84c8f9aa949861 (patch)
treef86342edd69352c57c545caa5751ed25f9954a4c /lib/libpthread/thread/thr_read.c
parent5e9f92ecf757c8f55ddae7d0dcec108fef05954d (diff)
downloadFreeBSD-src-3b30ad42290fed0d41cbf8a0bc84c8f9aa949861.zip
FreeBSD-src-3b30ad42290fed0d41cbf8a0bc84c8f9aa949861.tar.gz
In sbflush(), don't exit the while loop too early: this can cause
an empty mbuf to stay in the queue, then causing a needless panic because sb_cc == 0 and sb_mbcnt != 0. But we still need to panic rather than endlessly looping if, for some reason, sb_cc == 0 and there are non-empty mbufs in the queue. PR: kern/11988 Reviewed by: fenner
Diffstat (limited to 'lib/libpthread/thread/thr_read.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud