projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7633d
)
net: ipv6: fix missing dst ref drop in ila lwtunnel
author
Justin Iurman
<justin.iurman@uliege.be>
Wed, 5 Mar 2025 08:16:55 +0000
(09:16 +0100)
committer
Paolo Abeni
<pabeni@redhat.com>
Thu, 6 Mar 2025 10:08:45 +0000
(11:08 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/ila/ila_lwt.c
b/net/ipv6/ila/ila_lwt.c
index ac4bcc623603ab269e9af40501a05c0587184faf..7d574f5132e2fb893863b0eef7ef1704010a04dd 100644
(file)
--- 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);