On 2019/3/5 2:16, David Miller wrote:
> From: maowenan <maowe...@huawei.com>
> Date: Mon, 4 Mar 2019 20:47:42 +0800
> 
>>                      pmc->tomb = psf;
>>                      rv = 1;         //if it does not kfree(psf), will it 
>> lead to memory leak after this line?
> 
> pmc->tomb points to psf, why should we free it?

Thank you David.
Yes, pmc->tomb points to psf, but this is a delete path
for ip_mc_add1_src, if we don't free psf, where it can be done?
I'm not clear here.

> 
> .
> 

Reply via email to