aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alloc_tag.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2025-04-17 10:52:36 +0000
committerPaolo Abeni <[email protected]>2025-04-17 10:52:37 +0000
commit4a1f69b94124c3bb45de62391e9e07bdd199b00e (patch)
tree5ae530496286f1f3668847ca49314af64b8da630 /lib/alloc_tag.c
parentMerge branch 'introducing-openvpn-data-channel-offload' (diff)
parentnet: ipv6: ioam6: fix double reallocation (diff)
downloadkernel-4a1f69b94124c3bb45de62391e9e07bdd199b00e.tar.gz
kernel-4a1f69b94124c3bb45de62391e9e07bdd199b00e.zip
Merge branch 'mitigate-double-allocations-in-ioam6_iptunnel'
Justin Iurman says: ==================== Mitigate double allocations in ioam6_iptunnel Commit dce525185bc9 ("net: ipv6: ioam6_iptunnel: mitigate 2-realloc issue") fixed the double allocation issue in ioam6_iptunnel. However, since commit 92191dd10730 ("net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels"), the fix was left incomplete. Because the cache is now empty when the dst_entry is the same post transformation in order to avoid a reference loop, the double reallocation is back for such cases (e.g., inline mode) which are valid for IOAM. This patch provides a way to detect such cases without having a reference loop in the cache, and so to avoid the double reallocation issue for all cases again. v1: https://lore.kernel.org/netdev/[email protected]/T/#t ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions