summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/kern
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-06 17:14:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-06 17:14:29 +0000
commit8d3e9254852f788bc60b19838b788015f07bacba (patch)
tree89985af40a67bb409f139ca5769e1738ec07e9df /cpukit/libnetworking/kern
parent2003-02-06 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8d3e9254852f788bc60b19838b788015f07bacba.tar.bz2
2003-02-06 Mike Siers <mikes@poliac.com>
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.
Diffstat (limited to 'cpukit/libnetworking/kern')
-rw-r--r--cpukit/libnetworking/kern/uipc_mbuf.c4
1 files changed, 2 insertions, 2 deletions
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:*/