Re: [dummynet] Several queues connected to one pipe: "dummynet: OUCH! pipe should have been idle!"

From: Oleg Bulyzhin <oleg_at_FreeBSD.org>
Date: Mon, 27 Apr 2009 23:08:54 +0400
On Mon, Apr 27, 2009 at 05:44:22PM +0300, Maxim Ignatenko wrote:
> 2009/4/27 Luigi Rizzo <rizzo_at_iet.unipi.it>:
> > On Mon, Apr 27, 2009 at 04:51:18PM +0300, Maxim Ignatenko wrote:
> >> 2009/4/27 Luigi Rizzo <rizzo_at_iet.unipi.it>:
> >> >
> >> > ok there seems to be no change related to dummynet between these
> >> > two versions so I am not sure where to look.
> >> > Could you double check what is the last working version ?
> >> >
> >> šYes, r191201 have this problems too (it seems, i didn't updated for a
> >> long time).
> >> Now šI updated to r190864 (just before last change on ip_dummynet.c) -
> >> all works fine. Should I now check r190865?
> >
> > yes it would be great if you could identify a specific change that
> > caused the problem.
> > There is one thing particularly tricky in one of the dummynet
> > changes, because some fields changed between 32/64 bits and
> > signed/unsigned. I may have unadvertently introduced some
> > conversion bug.
> >
> 
> On r190865 problem appeared again.
> 
> > thanks a lot for the feedback
> >
> 
> You welcome :)
> 
> Thanks.
> _______________________________________________
> freebsd-net_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe_at_freebsd.org"

Perhaps you stepped on this:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=879027+0+archive/2009/svn-src-all/20090419.svn-src-all

You can try to change type of dn_pipe.numbytes to int64_t (instead of dn_key).
(ip_dummynet.h:341)

-- 
Oleg.

================================================================
=== Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- oleg_at_rinet.ru ===
================================================================
Received on Mon Apr 27 2009 - 17:23:21 UTC

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