netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: Patrick McHardy <kaber@trash.net>
Cc: hadi@cyberus.ca, "David S. Miller" <davem@davemloft.net>,
	netdev@oss.sgi.com
Subject: Re: [PATCH] PKT_SCHED: Provide compat policer stats in	action	policer
Date: Mon, 20 Dec 2004 15:03:25 +0100	[thread overview]
Message-ID: <20041220140325.GW17998@postel.suug.ch> (raw)
In-Reply-To: <41C6A6CC.1050105@trash.net>

* Patrick McHardy <41C6A6CC.1050105@trash.net> 2004-12-20 11:17
> I agree that this problem would have been avoided if the
> regression tests were run when the change was made, and it
> made sense to run them at that time. Unfortunately I missed
> the patch when it went in, otherwise I would have objected
> to using a field called "priv" and making assumptions about
> the layout of the structure it points to in a file called
> act_api anyway.

Ifs and buts, it was solely and purely my fault. period.

> On a side-note, you both seem to be inventing your own testing
> framework and regression tests. tcng already includes lots of
> regression tests for tc, tcng and the kernel. Unfortunately,
> last time I checked, it didn't work with 2.6.

The tests are based on tcsim which might behave differently than
the kernel itself. My test framework primarly tries to cover
iproute - kernel incompatbilities and tries to trigger bugs
by running every bit of code in every possible combination.

> I don't feel like I'm distributing burden onto anyone. As I
> said, I run the tests I deem necessary, and I never send out
> patches of whichs correctness I'm not convinced. So far, my
> history of mistakes has been pretty good.

Agreed, the only bug which would have been easly found with the
testframework was the CBQ slab corruption bug due deleting
filters twice added with your generic filter deletion simplification.
Unfortunately, I'm more error-prone than most so I need a testframework.

  reply	other threads:[~2004-12-20 14:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15 13:01 [PATCH] PKT_SCHED: Provide compat policer stats in action policer Thomas Graf
2004-12-15 14:09 ` jamal
2004-12-15 15:22   ` Thomas Graf
2004-12-15 15:42   ` Patrick McHardy
2004-12-19 19:24     ` jamal
2004-12-20 10:17       ` Patrick McHardy
2004-12-20 14:03         ` Thomas Graf [this message]
2004-12-20 14:32           ` jamal
2004-12-20 14:27         ` jamal
2004-12-21  0:16           ` Thomas Graf
2004-12-22 13:10             ` jamal
2004-12-22 13:32               ` Thomas Graf
2004-12-22 13:54                 ` jamal
2004-12-21 10:11           ` Patrick McHardy
2004-12-20 23:51 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041220140325.GW17998@postel.suug.ch \
    --to=tgraf@suug.ch \
    --cc=davem@davemloft.net \
    --cc=hadi@cyberus.ca \
    --cc=kaber@trash.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).