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:*/