diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-01-29 19:15:18 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:46 +0100 |
| commit | 2248b8145053eb2ae35ca4cf694b885a086719bb (patch) | |
| tree | 018781ede5a9243be73e8099961bd340e84b5038 /drivers/ufs | |
| parent | 704fdc59601e5b3f455184e4a0b65fbdefe0f86d (diff) | |
| download | linux-2248b8145053eb2ae35ca4cf694b885a086719bb.tar.gz linux-2248b8145053eb2ae35ca4cf694b885a086719bb.tar.bz2 linux-2248b8145053eb2ae35ca4cf694b885a086719bb.zip | |
net: ipv6: fix dst refleaks in rpl, seg6 and ioam6 lwtunnels
commit c71a192976ded2f2f416d03c4f595cdd4478b825 upstream.
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 <justin.iurman@uliege.be>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250130031519.2716843-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions
