Public bug reported:

Please add the following upstream commit (and its prerequisites) for SR-
IOV on Azure:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0719e72ccb801829a3d735d187ca8417f0930459

author
stephen hemminger <[email protected]>
2017-01-11 17:16:32 (GMT)
committer
David S. Miller <[email protected]>
2017-01-11 21:13:53 (GMT)
commit
0719e72ccb801829a3d735d187ca8417f0930459 (patch)
tree
a4f718fefcb15433fa59f6d4add44ae220edb806
parent
4ecb1d83f6abe8d49163427f4d431ebe98f8bd5f (diff)
netvsc: add rcu_read locking to netvsc callback
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657540

Title:
  [Hyper-V] netvsc: add rcu_read locked to netvsc callback

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1657540/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to