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 mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-06-04 14:14 UTC by Dave Cameron (puddingpimp)
Modified: 2016-06-13 15:39 UTC (History)
0 users

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