Re: [PATCH] Resetting packet statistics

From: David S. Miller
Date: Tue Nov 29 2005 - 01:12:29 EST


From: "Kris Katterjohn" <kjak@xxxxxxxxxxx>
Date: Mon, 28 Nov 2005 19:55:52 -0800

> These patches keep getsockopt(PACKET_STATISTICS) from resetting the packet
> stats to zero and it creates PACKET_RESET_STATISTICS, which is used with
> setsockopt(), to zero the packet stats.
>
> Signed-off by: Kris Katterjohn <kjak@xxxxxxxxxxxxxxxxxxxxx>

You can't change existing behavior in order to get the new behavior
you want. Some applications might be depending upon what happens
currently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/