diff options
| author | Martin Weinelt <martin@linuxlounge.net> | 2019-02-06 17:39:14 +0300 |
|---|---|---|
| committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-02-06 21:42:52 +0300 |
| commit | 5f320f09b3d93200eb61eb9a26e1d2b3078eb712 (patch) | |
| tree | e479f29d834c33da095b38272e8e575dc3dc5c22 /include/uapi/linux | |
| parent | 7a79d717e0817610932ce3b7b6033ea06ee1d577 (diff) | |
| download | linux-5f320f09b3d93200eb61eb9a26e1d2b3078eb712.tar.xz | |
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: b61ec31c8575 ("batman-adv: Snoop DHCPACKs for DAT")
Signed-off-by: Martin Weinelt <martin@linuxlounge.net>
[sven@narfation.org: add commit message]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
