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

Bug #1708995 reported by Joshua R. Poulson on 2017-08-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
High
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

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=fb84af8a4397ee664a51c2da1dd64fb3d582ee24

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) on 2017-08-07
Changed in linux-azure (Ubuntu):
status: New → Confirmed
Marcelo Cerri (mhcerri) on 2017-08-07
Changed in linux-azure (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Marcelo Cerri (mhcerri)
status: Triaged → In Progress
Marcelo Cerri (mhcerri) on 2017-08-07
Changed in linux-azure (Ubuntu):
importance: Undecided → High
Marcelo Cerri (mhcerri) on 2017-08-11
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