[PATCH net 5/7] gtp: Initialize 64-bit per-cpu stats correctly

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Pablo Neira Ayuso pablo at netfilter.org
Wed Aug 2 10:46:10 UTC 2017


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 <f.fainelli at gmail.com>

Acked-by: Pablo Neira Ayuso <pablo at netfilter.org>

Thanks!



More information about the osmocom-net-gprs mailing list