Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173676723
D58511.id182923.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
582 B
Referenced Files
None
Subscribers
None
D58511.id182923.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
Mon, Sep 28, 4:03 PM (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35692076
Default Alt Text
D58511.id182923.diff (582 B)
Attached To
Mode
D58511: ofed: fix GID table reference leak in roce_gid_update_addr_callback()
Attached
Detach File
Event Timeline
Log In to Comment