Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 1999 10:08:51 -0700 (PDT)
From:      Pierre Beyssac <pb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket2.c
Message-ID:  <199910011708.KAA83525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
pb          1999/10/01 10:08:51 PDT

  Modified files:        (Branch: RELENG_3)
    sys/kern             uipc_socket2.c 
  Log:
  MFC: 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
  
  Revision  Changes    Path
  1.43.2.6  +9 -2      src/sys/kern/uipc_socket2.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910011708.KAA83525>