diff options
| author | Justin Iurman <justin.iurman@uliege.be> | 2025-03-05 09:16:55 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-13 13:08:00 +0100 |
| commit | a183937202bbe3c53572dbcc9031b0b675704f32 (patch) | |
| tree | e9639cd1bca96388637f3b19f35c8461e3dd807e /net | |
| parent | 7a708002bdc27bff2028a5bdc1787e3d44cbea39 (diff) | |
| download | linux-a183937202bbe3c53572dbcc9031b0b675704f32.tar.gz linux-a183937202bbe3c53572dbcc9031b0b675704f32.tar.bz2 linux-a183937202bbe3c53572dbcc9031b0b675704f32.zip | |
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>
Diffstat (limited to 'net')
| -rw-r--r-- | net/ipv6/ila/ila_lwt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ila/ila_lwt.c b/net/ipv6/ila/ila_lwt.c index ac4bcc623603..7d574f5132e2 100644 --- a/net/ipv6/ila/ila_lwt.c +++ b/net/ipv6/ila/ila_lwt.c @@ -96,6 +96,7 @@ static int ila_output(struct net *net, struct sock *sk, struct sk_buff *skb) } } + skb_dst_drop(skb); skb_dst_set(skb, dst); return dst_output(net, sk, skb); |
