Changeset 8d3e9254 in rtems


Ignore:
Timestamp:
Feb 6, 2003, 5:14:29 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
089e1b0
Parents:
2a09fb6e
Message:

2003-02-06 Mike Siers <mikes@…>

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.
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    r2a09fb6e r8d3e9254  
     12003-02-06      Mike Siers <mikes@poliac.com>
     2
     3        PR 342/networking
     4        * kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
     5        the m_len value of the mbuf.  I looked into the source from another
     6        BSD system and the mbuf length is not changed inside this function.
     7        The m_copyback function is only being used in the net/rtsock.c file.
     8        So I think this problem is only visable under certain routing table
     9        conditions. 
     10
    1112003-02-05      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    212
  • cpukit/libnetworking/kern/uipc_mbuf.c

    r2a09fb6e r8d3e9254  
    756756                totlen += mlen;
    757757                if (len == 0) {
    758                         m->m_len = mlen;
     758                        /* m->m_len = mlen; */
    759759                        break;
    760760                }
     
    768768                        m->m_next = n;
    769769                }
    770                 m->m_len = mlen;
     770                /* m->m_len = mlen; */
    771771                m = m->m_next;
    772772        }
Note: See TracChangeset for help on using the changeset viewer.