]> 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 12:02:09 +0000 (13:02 +0100)
commitcc9a0b498b011199fd84292283aafe6cce6e002f
tree3375621855e9fb147cc2975f9adaabade7d03119
parenta3bf9969e2089a47612a6edf975b6be9c49f5f0e
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