Re: Re: [PATCH] IB/sa: Fix memleak in ib_nl_make_request

From: dinghao . liu
Date: Sun Dec 27 2020 - 22:09:39 EST


> On Sun, Dec 20, 2020 at 04:13:14PM +0800, Dinghao Liu wrote:
> > When rdma_nl_multicast() fails, skb should be freed
> > just like when ibnl_put_msg() fails.
>
> It is not so simple as you wrote in the description.
>
> There are no other places in the linux kernel that free
> SKBs after netlink_multicast() failure.
>

It's clear for me, thanks.

Regards,
Dinghao