Packet corruption in re0

Sam Leffler sam at errno.com
Fri Feb 22 06:36:59 UTC 2008


Dimitry Andric wrote:
> On 2008-02-22 02:59, Robert Backhaus wrote:
>>>  > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box.
>>>  > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to add
>>>  > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c on
>>>  > HEAD/RELENG_7 to if_re.c). That would make it build on your box.
>> I have had trouble so far. I was tracking RELENG_7, which has the m_defrag()
>> function.
> 
> Actually, m_defrag() DOES exist in RELENG_7, it's m_collapse() that
> isn't yet MFC'd, apparently.  So that is the function that needs to
> copied from HEAD's uipc_mbuf.c instead.

m_collapsed has been mfc'd:

revision 1.174.2.1
date: 2008/02/08 20:58:18;  author: sam;  state: Exp;  lines: +86 -0
MFC: promote ath_defrag to m_collapse



More information about the freebsd-current mailing list