Re: Packet corruption in re0

From: Robert Backhaus <robbak_at_robbak.com>
Date: Fri, 22 Feb 2008 15:07:52 +1000
On Fri, Feb 22, 2008 at 2:17 PM, Pyun YongHyeon <pyunyh_at_gmail.com> wrote:
>
> On Fri, Feb 22, 2008 at 03:14:07AM +0100, 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.
>
>  Ah... yes, you're right. I need more coffee.
>
>  --
>  Regards,
>  Pyun YongHyeon
>

You guys aren't making this troubleshooting any easier, you know.

I just stripped out m_defrag, and inserted m_collapse, to my newly
csupped RELENG_7.

RELENG_7 does contain m_collapse. At least, buildkernel complains
about it if i insert
it into if_re.c It probably hasn't been rfc'd to RELENG_7_0.

if_re.c is a different version, though. I'm using version 1.103.
Received on Fri Feb 22 2008 - 04:07:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC