FreeBSD Bugzilla – Attachment 171008 Details for
Bug 210023
mlx4 lock order reversal in mlx4_ib_init_gid_table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Change RLOCk to sleepable
mlx4_main.c.patch (text/plain), 785 bytes, created by
Dave Cameron (puddingpimp)
on 2016-06-04 14:25:28 UTC
(
hide
)
Description:
Change RLOCk to sleepable
Filename:
MIME Type:
Creator:
Dave Cameron (puddingpimp)
Created:
2016-06-04 14:25:28 UTC
Size:
785 bytes
patch
obsolete
>diff --git a/sys/ofed/drivers/infiniband/hw/mlx4/main.c b/sys/ofed/drivers/infiniband/hw/mlx4/main.c >index da5ec04..de6fb96 100644 >--- a/sys/ofed/drivers/infiniband/hw/mlx4/main.c >+++ b/sys/ofed/drivers/infiniband/hw/mlx4/main.c >@@ -1840,7 +1840,7 @@ static int mlx4_ib_init_gid_table(struct mlx4_ib_dev *ibdev) > if (reset_gid_table(ibdev)) > return -1; > >- IFNET_RLOCK_NOSLEEP(); >+ IFNET_RLOCK(); > TAILQ_FOREACH(dev, &V_ifnet, if_link) { > u8 port = mlx4_ib_get_dev_port(dev, ibdev); > if (port) { >@@ -1851,7 +1851,7 @@ static int mlx4_ib_init_gid_table(struct mlx4_ib_dev *ibdev) > } > } > >- IFNET_RUNLOCK_NOSLEEP(); >+ IFNET_RUNLOCK(); > > return 0; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210023
:
171007
| 171008