From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH net 5/7] gtp: Initialize 64-bit per-cpu stats correctly Date: Wed, 2 Aug 2017 12:46:10 +0200 Message-ID: <20170802104610.GA2566@salvia> References: <20170801191113.8754-1-f.fainelli@gmail.com> <20170801191113.8754-6-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, Harald Welte , "open list:GTP (GPRS Tunneling Protocol)" , open list To: Florian Fainelli Return-path: Content-Disposition: inline In-Reply-To: <20170801191113.8754-6-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, Aug 01, 2017 at 12:11:10PM -0700, Florian Fainelli wrote: > On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a > lockdep splat indicating this seqcount is not correctly initialized, fix > that by using netdev_alloc_pcpu_stats() instead of an open coded > allocation. > > Fixes: 459aa660eb1d ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)") > Signed-off-by: Florian Fainelli Acked-by: Pablo Neira Ayuso Thanks!