Bug 210023 - mlx4 lock order reversal in mlx4_ib_init_gid_table
Summary: mlx4 lock order reversal in mlx4_ib_init_gid_table
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-06-04 14:14 UTC by Dave Cameron (puddingpimp)
Modified: 2020-07-12 20:07 UTC (History)
1 user (show)

See Also:


Attachments
WITNESS backtrace (826 bytes, text/plain)
2016-06-04 14:14 UTC, Dave Cameron (puddingpimp)
no flags Details
Change RLOCk to sleepable (785 bytes, patch)
2016-06-04 14:25 UTC, Dave Cameron (puddingpimp)
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cameron (puddingpimp) 2016-06-04 14:14:12 UTC
Created attachment 171007 [details]
WITNESS backtrace

I don't know if this is the right fix, but I've changed the lock in mlx4_ib_init_gid_table to a sleepable lock.
Comment 1 Dave Cameron (puddingpimp) 2016-06-04 14:25:28 UTC
Created attachment 171008 [details]
Change RLOCk to sleepable
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2020-07-12 16:45:18 UTC
^Triage: fix metadata on this older bug
^Triage: Cc: hps who IIRC maintains this code
Comment 3 Hans Petter Selasky freebsd_committer freebsd_triage 2020-07-12 20:07:24 UTC
Is this still a problem using a kernel based on FreeBSD 12-stable?