diff options
| author | Jakub Kicinski <[email protected]> | 2025-01-30 03:15:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-02 00:55:30 +0000 |
| commit | c71a192976ded2f2f416d03c4f595cdd4478b825 (patch) | |
| tree | b1b304e29808723935b8ffbe3d29775281c155e1 /scripts/rustdoc_test_gen.rs | |
| parent | net: bcmgenet: Correct overlaying of PHY and MAC Wake-on-LAN (diff) | |
| download | kernel-c71a192976ded2f2f416d03c4f595cdd4478b825.tar.gz kernel-c71a192976ded2f2f416d03c4f595cdd4478b825.zip | |
net: ipv6: fix dst refleaks in rpl, seg6 and ioam6 lwtunnels
dst_cache_get() gives us a reference, we need to release it.
Discovered by the ioam6.sh test, kmemleak was recently fixed
to catch per-cpu memory leaks.
Fixes: 985ec6f5e623 ("net: ipv6: rpl_iptunnel: mitigate 2-realloc issue")
Fixes: 40475b63761a ("net: ipv6: seg6_iptunnel: mitigate 2-realloc issue")
Fixes: dce525185bc9 ("net: ipv6: ioam6_iptunnel: mitigate 2-realloc issue")
Reviewed-by: Justin Iurman <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
