Mark Wright writes:
> sj# ngctl mkpeer lmc0: frame_relay rawdata downstream
> sj# ngctl mkpeer lmc0:rawdata lmi dlci0 auto0
> sj# ngctl mkpeer lmc0:rawdata rfc1490 dlci15 downstream
> ngctl: send msg: No such file or directory
>
> What does that mean? Should I be concerned that ifconfig -a doesn'
* Bosko Milekic <[EMAIL PROTECTED]> [001212 20:15] wrote:
>
> Alfred,
>
> You've brought this up before. This looks familiar to your earlier
> post(s) regarding how to "abuse m_ext." Mind you, I may be mistaken, but
> that would be because this isn't being made awfully clear.
>
Alfred,
You've brought this up before. This looks familiar to your earlier
post(s) regarding how to "abuse m_ext." Mind you, I may be mistaken, but
that would be because this isn't being made awfully clear.
Earlier you talked about forcing a custom free routine to be called
In article [EMAIL PROTECTED]> you
write:
><<[EMAIL PROTECTED]> said:
>
>> Actually, in truth I think you can get the code right like so:
>
>> long x = _mmm->m_ext.ref_cnt->refcnt;
>> while (!atomic_cmpset_long(&_mmm->m_ext.ref_cnt->refcnt, x - 1, x))
>> ;
>
>Cool! You've just (almost) reinv
On Tue, Dec 12, 2000 at 07:44:36PM -0800, Alfred Perlstein wrote:
> Ok, can you please commit the fix then?
Bosko is currently working up a patch that should be committed tonight
sometime. By the way, thanks for the bug report. =)
Jason
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "uns
* Garrett Wollman <[EMAIL PROTECTED]> [001212 18:50] wrote:
> < said:
>
> > Actually, in truth I think you can get the code right like so:
>
> > long x = _mmm->m_ext.ref_cnt->refcnt;
> > while (!atomic_cmpset_long(&_mmm->m_ext.ref_cnt->refcnt, x - 1, x))
> > ;
>
> Cool! You've just (almost
* Jason Evans <[EMAIL PROTECTED]> [001212 18:39] wrote:
> On Tue, Dec 12, 2000 at 05:59:37PM -0800, Alfred Perlstein wrote:
> > * Jason Evans <[EMAIL PROTECTED]> [001212 14:32] wrote:
> > > A safe version:
> > > ---
> > > #def
< said:
> Actually, in truth I think you can get the code right like so:
> long x = _mmm->m_ext.ref_cnt->refcnt;
> while (!atomic_cmpset_long(&_mmm->m_ext.ref_cnt->refcnt, x - 1, x))
> ;
Cool! You've just (almost) reinvented non-blocking parallel
reference-counts. Of course, what you re
On Tue, Dec 12, 2000 at 05:59:37PM -0800, Alfred Perlstein wrote:
> And since Chuck backs me up on this, can we consider this discussion
> over as soon as John commits his code?
No.
Jason
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message
On Tue, 12 Dec 2000, Alfred Perlstein wrote:
[...]
> And since Chuck backs me up on this, can we consider this discussion
> over as soon as John commits his code?
I think this is a valid point.
This is not the first time the need for proper refcount "interface"
arises, or at
On Tue, Dec 12, 2000 at 05:59:37PM -0800, Alfred Perlstein wrote:
> * Jason Evans <[EMAIL PROTECTED]> [001212 14:32] wrote:
> > A safe version:
> > ---
> > #define MEXTFREE(m) do {
* John Baldwin <[EMAIL PROTECTED]> [001212 15:19] wrote:
>
> On 12-Dec-00 Julian Elischer wrote:
> > John Baldwin wrote:
> >>
> >> On 12-Dec-00 Alfred Perlstein wrote:
> >> > grr...
> >> >
> >> > considering this:
> >> >
> >> >#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
> >> >
> >> >
* Jason Evans <[EMAIL PROTECTED]> [001212 14:32] wrote:
> On Tue, Dec 12, 2000 at 01:51:00AM -0800, Alfred Perlstein wrote:
>
> A safe version:
> ---
> #define MEXTFREE(m) do {
Hello all,
Does anyone know how many packets per second a box
running freebsd 4.2-stable with 2 fast ethernet cards
could push? It would be acting as a router/firewall.
I know this depends on CPU, lets say its a PIII 850
with 128mb ram.
If there is an equation to help figure it out I would
love
On 12-Dec-00 Julian Elischer wrote:
> John Baldwin wrote:
>>
>> On 12-Dec-00 Alfred Perlstein wrote:
>> > grr...
>> >
>> > considering this:
>> >
>> >#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
>> >
>> >#define MEXT_REM_REF(m) do {\
>> > KASSERT((m)->m_ext
On 12-Dec-00 Jason Evans wrote:
> On Tue, Dec 12, 2000 at 01:51:00AM -0800, Alfred Perlstein wrote:
>> * Alfred Perlstein <[EMAIL PROTECTED]> [001212 01:44] wrote:
>> > grr...
>> >
>> > considering this:
>> >
>> > #define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
>> >
>> > #define MEXT_R
On Tue, Dec 12, 2000 at 01:51:00AM -0800, Alfred Perlstein wrote:
> * Alfred Perlstein <[EMAIL PROTECTED]> [001212 01:44] wrote:
> > grr...
> >
> > considering this:
> >
> > #define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
> >
> > #define MEXT_REM_REF(m) do {\
> >
John Baldwin wrote:
>
> On 12-Dec-00 Alfred Perlstein wrote:
> > grr...
> >
> > considering this:
> >
> >#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
> >
> >#define MEXT_REM_REF(m) do {\
> > KASSERT((m)->m_ext.ref_cnt->refcnt > 0, ("m_ext refcnt < 0")); \
>
On Tue, Dec 12, 2000 at 08:10:16AM +0100, Martin Eggen wrote:
> Would having the following in a kernel config work?
>
> options IPFIREWALL
> options IPFIREWALL_DEFAULT_TO_ACCEPT
> options DUMMYNET
> options IPFILTER
>
> That is, to use ipfw exclusively for bandwidth limiting with
On 12-Dec-00 Alfred Perlstein wrote:
> * John Baldwin <[EMAIL PROTECTED]> [001212 08:39] wrote:
>>
>> On 12-Dec-00 Alfred Perlstein wrote:
>> > grr...
>> >
>> > considering this:
>> >
>> >#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
>> >
>> >#define MEXT_REM_REF(m) do {
* John Baldwin <[EMAIL PROTECTED]> [001212 08:39] wrote:
>
> On 12-Dec-00 Alfred Perlstein wrote:
> > grr...
> >
> > considering this:
> >
> >#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
> >
> >#define MEXT_REM_REF(m) do {\
> > KASSERT((m)->m_ext.ref_cnt-
On 12-Dec-00 Alfred Perlstein wrote:
> grr...
>
> considering this:
>
>#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
>
>#define MEXT_REM_REF(m) do {\
> KASSERT((m)->m_ext.ref_cnt->refcnt > 0, ("m_ext refcnt < 0")); \
> atomic_subtract_long(&((m)->m_ex
auth c409e3fe subscribe freebsd-net [EMAIL PROTECTED]
Alfred Perlstein wrote:
>
> Ok, so I'm trying to rid FreeBSD of the unp_gc() junk in uipc_usrreq.c
> I just realized why I'm leaking file descriptors:
>
> Only mbufs with external storage can have a 'free' function, the
> problem is that for the most part when passing a single fd I'm only
> usin
Ok, so I'm trying to rid FreeBSD of the unp_gc() junk in uipc_usrreq.c
I just realized why I'm leaking file descriptors:
Only mbufs with external storage can have a 'free' function, the
problem is that for the most part when passing a single fd I'm only
using a single mbuf to pass my data around,
Michael Yeung <[EMAIL PROTECTED]> wrote:
>
>I noticed IP aliases restrict the alias IP address to be in the same
>subnet/network as the primary IP address. Is that a true restriction?
No. You configure aliases exactly as you would the primary address on
an interface without restriction, except th
* Alfred Perlstein <[EMAIL PROTECTED]> [001212 01:44] wrote:
> grr...
>
> considering this:
>
> #define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
>
> #define MEXT_REM_REF(m) do {\
> KASSERT((m)->m_ext.ref_cnt->refcnt > 0, ("m_ext refcnt < 0")); \
> atomic_
grr...
considering this:
#define MEXT_IS_REF(m) ((m)->m_ext.ref_cnt->refcnt > 1)
#define MEXT_REM_REF(m) do {\
KASSERT((m)->m_ext.ref_cnt->refcnt > 0, ("m_ext refcnt < 0")); \
atomic_subtract_long(&((m)->m_ext.ref_cnt->refcnt), 1); \
} while(0)
this:
#defi
28 matches
Mail list logo