diff options
author | 2025-04-15 13:25:54 +0200 | |
---|---|---|
committer | 2025-04-17 12:52:34 +0200 | |
commit | 47ce7c854563fe8450e9cb8dcd62c6470e28076b (patch) | |
tree | 5ae530496286f1f3668847ca49314af64b8da630 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ipv6: ioam6: use consistent dst names (diff) | |
download | wireguard-linux-47ce7c854563fe8450e9cb8dcd62c6470e28076b.tar.xz wireguard-linux-47ce7c854563fe8450e9cb8dcd62c6470e28076b.zip |
net: ipv6: ioam6: fix double reallocation
If the dst_entry is the same post transformation (which is a valid use
case for IOAM), we don't add it to the cache to avoid a reference loop.
Instead, we use a "fake" dst_entry and add it to the cache as a signal.
When we read the cache, we compare it with our "fake" dst_entry and
therefore detect if we're in the special case.
Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Link: https://patch.msgid.link/20250415112554.23823-3-justin.iurman@uliege.be
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions