On 2018年05月22日 13:09, Ying Xue wrote:
On 05/22/2018 12:24 PM, tung quang nguyen wrote:
Hi Zhenbo,

I do not think this patch is correct.

Function tipc_node_subscribe() calls tipc_node_find(). Function
tipc_node_find() calls kref_get_unless_zero() to increase node reference.
Therefore, after calling tipc_node_find (), we need to call tipc_node_put()
to decrease node reference.
Agreed.

Zhenbo,

Did you meet some issue?
Hi Ying and Tung Nguyen,

Thanks for your reply and the explanation.

No, i didn't meet any issue on my side, i just start to study the TIPC related kernel part recently, and seems that my previous understanding about node's kref is not right, anyway it's more clear now :)

Thanks & Best Regards,
Zhenbo

Thanks,
Ying


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to