DragonFly BSD
DragonFly users List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Hints on kernel config for a dula pII/450 system anyone?


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Thu, 21 Sep 2006 23:11:16 +0800

static int
bridge_pfile(...)
{
   ...
   KASSERT(M_WRITABLE(*mp), ("%s: modifying a shared mbuf", __func__));
   ...
}

I don't think M_WRITABLE() applicable to DFLY here, since if *mp is
from driver(e.g. sk(4)), which supports jumbo frames, M_WRITABLE() is
always == 0:
1) Driver allocates jumbo frame buffer and turns on M_EXT in mbuf.m_flags
2) since M_EXT is turned on, while M_EXT_CLUSTER is off, m_sharecount() == 99

I suggest to nuke this assertion in bridge_pfil().

Best Regards,
sephe

On 9/21/06, Gergo Szakal <bastyaelvtars@xxxxxxxxx> wrote:
Scott Ullrich wrote:
>
> I am coming into this a bit late.  What version is this again?
>

This is 1.6-release (snapshot from yesterday, got the tarball from
chlamydia) and applied the attached patch made by Sepherosa.

-- Live Free or Die



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