Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 15:30:42 +0200
From:      Jacques Fourie <jacques.fourie@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   m_copymdata() bug?
Message-ID:  <s2tbe2f52431004130630z7795c52fqbcfefebd8ddf25@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
It seems as if the m_copymdata() function defined in uipc_mbuf.c has a
bug. It uses m_apply to copy data from the source mbuf to the target
but in the callback function m_bcopyxxx() the arguments are
interpreted in the wrong order. Swapping the 's' and 't' arguments in
the declaration of m_bcopyxxx() fixes the problem for me.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s2tbe2f52431004130630z7795c52fqbcfefebd8ddf25>