[Hyper-V] netvsc: fix rtnl deadlock on unregister of vf

Bug #1708995 reported by Joshua R. Poulson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
Marcelo Cerri
Nominated for Xenial by Marcelo Cerri

Bug Description

This is a deadlock fix for functionality introduced with https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1708469 which applies to lts-xenial and linux-azure


With new transparent VF support, it is possible to get a deadlock
when some of the deferred work is running and the unregister_vf
is trying to cancel the work element. The solution is to use
trylock and reschedule (similar to bonding and team device)

Joshua R. Poulson (jrp)
Changed in linux-azure (Ubuntu):
status: New → Confirmed
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Marcelo Cerri (mhcerri)
status: Triaged → In Progress
Revision history for this message
Marcelo Cerri (mhcerri) wrote :
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu):
importance: Undecided → High
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu):
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers