Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Delete m_tag from a mbuf being non-pkthdr mbuf rath...



details:   https://anonhg.NetBSD.org/src/rev/c49f9ce50f9a
branches:  trunk
changeset: 570020:c49f9ce50f9a
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Sep 17 23:24:03 2004 +0000

description:
Delete m_tag from a mbuf being non-pkthdr mbuf rather than newly becoming
pkthdr mbuf.

diffstat:

 sys/kern/uipc_mbuf.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c9f8b32943b8 -r c49f9ce50f9a sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Fri Sep 17 23:21:53 2004 +0000
+++ b/sys/kern/uipc_mbuf.c      Fri Sep 17 23:24:03 2004 +0000
@@ -883,7 +883,7 @@
        m->m_len = 0;
        if (n->m_flags & M_PKTHDR) {
                M_COPY_PKTHDR(m, n);
-               m_tag_delete_chain(m, NULL);
+               m_tag_delete_chain(n, NULL);
                n->m_flags &= ~M_PKTHDR;
        }
        m->m_data += dstoff;



Home | Main Index | Thread Index | Old Index