diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-30 11:22:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-30 11:22:49 -0600 |
commit | 9e11d89ba8b281142629c79906cd7839adfad62c (patch) | |
tree | 8a4be55464d48ca984a7de68f8fbe27750664e0b /nuttx/ChangeLog | |
parent | 958a1b5aa2523827242e714dd17c64956ab26806 (diff) | |
download | px4-nuttx-9e11d89ba8b281142629c79906cd7839adfad62c.tar.gz px4-nuttx-9e11d89ba8b281142629c79906cd7839adfad62c.tar.bz2 px4-nuttx-9e11d89ba8b281142629c79906cd7839adfad62c.zip |
Update ChangeLog
Diffstat (limited to 'nuttx/ChangeLog')
-rwxr-xr-x | nuttx/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 6e860d6fa..587fcf381 100755 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -9585,3 +9585,15 @@ (2015-01-30). * clock_systimespec(): Fixes for compilation errors in certain configurations. From Macs N. + * drivers/pipes/fifo.c, include/nuttx/fs/ioctl.h, and net/local/local_fifo.c: + Fix a race condition between FIFO buffer operations and the opening and + closing of FIFOs which necessary when the FIFOs are used to support + Unix domain, datagram sockets. The default policy is the deallocate + FIFO buffering when the last client closes the pipe. When when used + for datagram communications, packets left in the FIFO will be lost. + Some like UDP read-ahead is needed: The buffered data in the FIFO + needs to be retained until the reader gets a chance to re-open the + FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. + Default (0) is the legacy behavior; Unix domain datagram logic sets + the alternative policy so that the packet data persists after the FIFO + is closed (2015-01-30). |