[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZOPZKKca6Yea=E9reL+x-cfvX0HwsgLAWKzjonmGwutH0MxA@mail.gmail.com>
Date: Mon, 10 Sep 2012 22:10:36 +0300
From: Or Gerlitz <or.gerlitz@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Shlomo Pongartz <shlomop@...lanox.com>, netdev@...r.kernel.org
Subject: Re: ndo_get_stats and rtnl_netlink
On Mon, Sep 10, 2012 at 12:09 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> RTNL locking is not needed to fetch stats, and would be overkill.
> Each driver has its own way to protect/gather its stats.
FWIW, again, when dev_get_stats is called from rtnl_fill_ifinfo e.g as
of invocation
of "ip link show <interface>, there IS RTNL locking, is that a problem?
Or.
--
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