From 8d3e9254852f788bc60b19838b788015f07bacba Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Feb 2003 17:14:29 +0000 Subject: 2003-02-06 Mike Siers PR 342/networking * kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing the m_len value of the mbuf. I looked into the source from another BSD system and the mbuf length is not changed inside this function. The m_copyback function is only being used in the net/rtsock.c file. So I think this problem is only visable under certain routing table conditions. --- cpukit/libnetworking/ChangeLog | 10 ++++++++++ cpukit/libnetworking/kern/uipc_mbuf.c | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog index 038e1019a3..d2a0e034d1 100644 --- a/cpukit/libnetworking/ChangeLog +++ b/cpukit/libnetworking/ChangeLog @@ -1,3 +1,13 @@ +2003-02-06 Mike Siers + + PR 342/networking + * kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing + the m_len value of the mbuf. I looked into the source from another + BSD system and the mbuf length is not changed inside this function. + The m_copyback function is only being used in the net/rtsock.c file. + So I think this problem is only visable under certain routing table + conditions. + 2003-02-05 Thomas Doerfler PR 341/networking diff --git a/cpukit/libnetworking/kern/uipc_mbuf.c b/cpukit/libnetworking/kern/uipc_mbuf.c index 858d423456..a0e54ac94b 100644 --- a/cpukit/libnetworking/kern/uipc_mbuf.c +++ b/cpukit/libnetworking/kern/uipc_mbuf.c @@ -755,7 +755,7 @@ m_copyback(m0, off, len, cp) off = 0; totlen += mlen; if (len == 0) { - m->m_len = mlen; + /* m->m_len = mlen; */ break; } if (m->m_next == 0) { @@ -767,7 +767,7 @@ m_copyback(m0, off, len, cp) n->m_len = min(MLEN, len); m->m_next = n; } - m->m_len = mlen; + /* m->m_len = mlen; */ m = m->m_next; } /*out:*/ -- cgit v1.2.3