Packet corruption in re0
robbak at robbak.com
Fri Feb 22 05:07:54 UTC 2008
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.
> 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
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.
More information about the freebsd-current