]> www.infradead.org Git - users/hch/misc.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)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Mar 2025 10:08:45 +0000 (11:08 +0100)
commit5da15a9c11c1c47ef573e6805b60a7d8a1687a2a
tree0da14a089264858caca5167bcd8cf5597e566f56
parent0e7633d7b95b67f1758aea19f8e85621c5f506a3
net: ipv6: fix missing dst ref drop in ila lwtunnel

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>
net/ipv6/ila/ila_lwt.c