diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2024-01-17 08:22:20 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2024-01-27 11:13:39 +0300 |
commit | 0a186b49bba596b81de5a686ce5bfc9cd48ab3ef (patch) | |
tree | 8576a52697e5b4972d2c5e9576c1a99b3b7f9c56 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 59f7ea703c38abc3f239068d49cc8897740e4c54 (diff) | |
download | linux-0a186b49bba596b81de5a686ce5bfc9cd48ab3ef.tar.xz |
batman-adv: mcast: fix memory leak on deleting a batman-adv interface
The batman-adv multicast tracker TVLV handler is registered for the
new batman-adv multicast packet type upon creating a batman-adv interface,
but not unregistered again upon the interface's deletion, leading to a
memory leak.
Fix this memory leak by calling the according TVLV handler unregister
routine for the multicast tracker TVLV upon batman-adv interface
deletion.
Fixes: 07afe1ba288c ("batman-adv: mcast: implement multicast packet reception and forwarding")
Reported-and-tested-by: syzbot+ebe64cc5950868e77358@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/000000000000beadc4060f0cbc23@google.com/
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions