diff options
| author | Linus Lüssing <[email protected]> | 2024-01-17 05:22:20 +0000 |
|---|---|---|
| committer | Simon Wunderlich <[email protected]> | 2024-01-27 08:13:39 +0000 |
| commit | 0a186b49bba596b81de5a686ce5bfc9cd48ab3ef (patch) | |
| tree | 8576a52697e5b4972d2c5e9576c1a99b3b7f9c56 /net/unix/af_unix.c | |
| parent | batman-adv: mcast: fix mcast packet type counter on timeouted nodes (diff) | |
| download | kernel-0a186b49bba596b81de5a686ce5bfc9cd48ab3ef.tar.gz kernel-0a186b49bba596b81de5a686ce5bfc9cd48ab3ef.zip | |
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: [email protected]
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Linus Lüssing <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
