[Hyper-V] netvsc: add rcu_read locked to netvsc callback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Xenial |
Fix Released
|
Medium
|
Tim Gardner | ||
Yakkety |
Fix Released
|
Medium
|
Tim Gardner | ||
Zesty |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
Please add the following upstream commit (and its prerequisites) for SR-IOV on Azure:
author
stephen hemminger <email address hidden>
2017-01-11 17:16:32 (GMT)
committer
David S. Miller <email address hidden>
2017-01-11 21:13:53 (GMT)
commit
0719e72ccb80182
tree
a4f718fefcb1543
parent
4ecb1d83f6abe8d
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 address hidden>
Signed-off-by: David S. Miller <email address hidden>
Changed in linux (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu Yakkety): | |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu Zesty): | |
status: | Confirmed → Triaged |
tags: | added: kernel-da-key kernel-hyper-v xenial yakkety zesty |
Changed in linux (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1657540
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.