NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56113: Short reads on AF_UNIX/SOCK_STREAM sockets return early in CURRENT



The following reply was made to PR kern/56113; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56113: Short reads on AF_UNIX/SOCK_STREAM sockets return
 early in CURRENT
Date: Sat, 10 Jul 2021 04:12:20 +0000

 On Sat, Apr 17, 2021 at 08:10:00AM +0000, nia%pkgsrc.org@localhost wrote:
  > In netbsd-9 and earlier releases, small reads on AF_UNIX SOCK_STREAM
  > sockets provided a fixed number of requested bytes. It seems at some
  > point NetBSD -current was changed so that less bytes than requested
  > could be returned, and poll() will return before the full written
  > chunk is available.
  > 
  > This means that the JACK Audio Connection Kit (audio/jack) in pkgsrc
  > no longer works on NetBSD 10, see
  > 
  > https://marc.info/?l=netbsd-current-users&m=161779584825623&w=2
  > 
  > for further analysis.
 
 Jack is broken -- I'm surprised it ever worked anywhere like that.
 
 That said, if someone can figure out what changed the behavior and if
 it's not expensive to rectify it (but I expect it will be) it might be
 worth changing.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index