diff options
| author | 2026-05-06 22:20:52 +0200 | |
|---|---|---|
| committer | 2026-05-08 14:29:02 +0200 | |
| commit | ba9d20ee9076dac32c371116bacbe72480eb356c (patch) | |
| tree | a4a1460985296060568863f3c4bdfcfe9189de69 /include/linux/clk/ssh:/git@git.zx2c4.com | |
| parent | batman-adv: bla: only purge non-released claims (diff) | |
batman-adv: bla: put backbone reference on failed claim hash insert
When batadv_bla_add_claim() fails to insert a new claim into the hash, it
leaked a reference to the backbone_gw for which the claim was intended.
Call batadv_backbone_gw_put() on the error path to release the reference
and avoid leaking the backbone_gw object.
Cc: stable@kernel.org
Fixes: 3db0decf1185 ("batman-adv: Fix non-atomic bla_claim::backbone_gw access")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
