mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 18:41:59 +08:00
Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* 3. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
@@ -1669,7 +1669,8 @@ dontblock:
|
||||
do {
|
||||
if (flags & MSG_PEEK) {
|
||||
if (controlp != NULL) {
|
||||
*controlp = m_copy(m, 0, m->m_len);
|
||||
*controlp = m_copym(m, 0, m->m_len,
|
||||
M_NOWAIT);
|
||||
controlp = &(*controlp)->m_next;
|
||||
}
|
||||
m = m->m_next;
|
||||
|
Reference in New Issue
Block a user