On Thu, 2016-04-14 at 22:56 -0400, David Miller wrote:
> From: Paolo Abeni
> Date: Wed, 13 Apr 2016 10:52:20 +0200
>
> > Currently the tun device accounting uses dev->stats without applying any
> > kind of protection, regardless that accounting happens in preemptible
> > process context.
> > This
From: Paolo Abeni
Date: Wed, 13 Apr 2016 10:52:20 +0200
> Currently the tun device accounting uses dev->stats without applying any
> kind of protection, regardless that accounting happens in preemptible
> process context.
> This patch move the tun stats to a per cpu data structure, and protect
>
Currently the tun device accounting uses dev->stats without applying any
kind of protection, regardless that accounting happens in preemptible
process context.
This patch move the tun stats to a per cpu data structure, and protect
the updates with u64_stats_update_begin()/u64_stats_update_end() or