]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ipv6: fix missing dst ref drop in ila lwtunnel
authorJustin Iurman <justin.iurman@uliege.be>
Wed, 5 Mar 2025 08:16:55 +0000 (09:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:51:07 +0000 (12:51 +0100)
commitf185b6d0aeea5e5aa091716d7457bd5389e82bca
tree8d9dd6e78387e9bb882fba6812d0dc31389aa4de
parent82043c99801e35ee7807134920c2ed4312ab4b67
net: ipv6: fix missing dst ref drop in ila lwtunnel

[ Upstream commit 5da15a9c11c1c47ef573e6805b60a7d8a1687a2a ]

Add missing skb_dst_drop() to drop reference to the old dst before
adding the new dst to the skb.

Fixes: 79ff2fc31e0f ("ila: Cache a route to translated address")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Link: https://patch.msgid.link/20250305081655.19032-1-justin.iurman@uliege.be
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv6/ila/ila_lwt.c