[ovs-dev] [PATCH v2] datapath: Fix deadlock on STT device destroy.

Joe Stringer joe at ovn.org
Tue Jan 12 19:06:10 UTC 2016


On 11 January 2016 at 20:13, Pravin B Shelar <pshelar at nicira.com> wrote:
> STT unregisters nf-hook when there are no other STT devices
> left in the namespace. On some kernel versions the nf-unreg API
> take RTNL lock, but it is already taken in the tunnel device
> destroy code path which results in deadlock. To fix the issue
> I moved the unreg call into net-exit.
>
> Bug: #1582410
> Reported-by: Joe Stringer <joe at ovn.org>
> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>

Thanks for the fix.

The "Bug" tag should probably say "VMware-BZ: #...".

Acked-by: Joe Stringer <joe at ovn.org>



More information about the dev mailing list