[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100819.001756.43029083.davem@davemloft.net>
Date: Thu, 19 Aug 2010 00:17:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] slip: fix get_stats() method
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Aug 2010 15:13:08 +0200
> Use integrated net_device_stats instead of a static one, and make sure
> no transient values are feeded. ndo_get_stats() can be called by
> concurrent cpus.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks Eric.
It's pretty freaky how, even to this day, we keep finding these static
function local variables in code which potentially runs multithreaded.
--
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