lkml.org 
[lkml]   [2005]   [Nov]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 28 Nov 2005 23:02:24 -0800 (PST)
SubjectRe: [PATCH] Resetting packet statistics
From"David S. Miller" <>
From: "Kris Katterjohn" <kjak@ispwest.com>
Date: Mon, 28 Nov 2005 22:28:18 -0800

> From: David S. Miller
> Sent: 11/28/2005 10:12:38 PM
> > You can't change existing behavior in order to get the new behavior
> > you want.  Some applications might be depending upon what happens
> > currently.
> 
> Is there a way to work around this?

Why not create a new call that doesn't reset the statistic,
and change your application to invoke it instead of the call
which exists?

That's one backwards compatible way to fix things like this.

Or, you can create a new call that says "from now on, do not
reset statistics on calls using this socket."  That's another
clean, and backwards compatible way, to deal with this
kind of issue.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-29 08:05    [from the cache]
©2003-2008