Skip to content
Commit 5f320f09 authored by Martin Weinelt's avatar Martin Weinelt Committed by Simon Wunderlich
Browse files

batman-adv: fix memory leak in in batadv_dat_put_dhcp



batadv_dat_put_dhcp is creating a new ARP packet via
batadv_dat_arp_create_reply and tries to forward it via
batadv_dat_send_data to different peers in the DHT. The original skb is not
consumed by batadv_dat_send_data and thus has to be consumed by the caller.

Fixes: b61ec31c ("batman-adv: Snoop DHCPACKs for DAT")
Signed-off-by: default avatarMartin Weinelt <martin@linuxlounge.net>
[sven@narfation.org: add commit message]
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
parent 7a79d717
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment