Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177760349
D58511.1795215211.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
582 B
Referenced Files
None
Subscribers
None
D58511.1795215211.diff
View Options
diff --git a/sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c b/sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
--- a/sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
+++ b/sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
@@ -260,8 +260,10 @@
/* check if entry found */
sgid_attr = rdma_find_gid_by_port(device, &gid, i,
port, entry->ndev);
- if (!IS_ERR(sgid_attr))
+ if (!IS_ERR(sgid_attr)) {
+ rdma_put_gid_attr(sgid_attr);
break;
+ }
}
if (i != IB_GID_TYPE_SIZE)
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 10:53 PM (18 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41877162
Default Alt Text
D58511.1795215211.diff (582 B)
Attached To
Mode
D58511: ofed: fix GID table reference leak in roce_gid_update_addr_callback()
Attached
Detach File
Event Timeline