Skip to contentSkip to conversation

fixup! RDMA: Add support to dump resource tracker in RAW format

PATCH In review Leon Romanovsky 2 participants 3 messages Jun 24, 2020 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! RDMA: Add support to dump resource tracker in RAW format

From: Leon Romanovsky <[email protected]>

Rebase error against
https://lore.kernel.org/r/[email protected]

---
 drivers/infiniband/core/nldev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/infiniband/core/nldev.c +0 -2
index 904e91061f9c..1051b5622b62 100644
@@ -1301,8 +1301,6 @@ static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
 	has_cap_net_admin = netlink_capable(skb, CAP_NET_ADMIN);
 
 	ret = fill_func(msg, has_cap_net_admin, res, port);
-
-	rdma_restrack_put(res);
 	if (ret)
 		goto err_free;
 

--
2.26.2

#2 lore raw
Quoted 6 lines · Jason Gunthorpe
Quoted 5 lines · Leon Romanovsky

From: Leon Romanovsky <[email protected]>

Rebase error against
https://lore.kernel.org/r/[email protected]

Quoted 7 lines
Quoted 4 lines
---
 drivers/infiniband/core/nldev.c | 2 --
 1 file changed, 2 deletions(-)

Hurm, OK, I squashed it in, the commit IDs will change now for your userspace series

Right, but commit ID is not critical, better to keep bisectability.

Quoted 2 lines

Jason