[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170111.163101.2187875318579580298.davem@davemloft.net>
Date: Wed, 11 Jan 2017 16:31:01 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, sthemmin@...rosoft.com
Subject: Re: [PATCH net v2] netvsc: add rcu_read locking to netvsc callback
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Wed, 11 Jan 2017 09:16:32 -0800
> The receive callback (in tasklet context) is using RCU to get reference
> to associated VF network device but this is not safe. RCU read lock
> needs to be held. Found by running with full lockdep debugging
> enabled.
>
> Fixes: f207c10d9823 ("hv_netvsc: use RCU to protect vf_netdev")
> Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
> ---
> v2 - fix commit message
Applied and queued up for -stable.
Powered by blists - more mailing lists