Re: [PATCH] Resetting packet statistics

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

 



From: "Kris Katterjohn" <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux