Re: [PATCH] batman-adv: Fix refcnt leak in batadv_store_throughput_override

From: Markus Elfring
Date: Wed Apr 15 2020 - 07:13:15 EST


> The issue happens in one error path of
> batadv_store_throughput_override(). When batadv_parse_throughput()
> returns NULL, the refcnt increased by batadv_hardif_get_by_netdev() is
> not decreased, causing a refcnt leak.

How do you think about to mention the terms âexception handlingâ
and âreference countingâ in the commit message?

Would you like to add the tag âFixesâ to the change description?

Regards,
Markus