[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CE6BFE1.6020404@candelatech.com>
Date: Fri, 19 Nov 2010 10:20:17 -0800
From: Ben Greear <greearb@...delatech.com>
To: NetDev <netdev@...r.kernel.org>
Subject: netlink stats and message ordering.
I have a single netlink socket that listens for various things,
as well as requests netdev stats and such.
I am seeing a case during interface creation (mac-vlans) where I get one set of stats
that appears to show 1 packet transmitted, and then immediately after that,
a second set of stats for the same device that shows all zero counters.
Since I'm trying to handle wraps properly, my code tends to consider this
a wrap and of course the numbers go all wrong since it wasn't really a wrap.
I am wondering if it's possible that netlink messages are somehow being
re-ordered before they are sent to my application?
Thanks,
Ben
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists