diff options
author | Justin Iurman <justin.iurman@uliege.be> | 2025-04-15 14:25:54 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-04-17 13:52:34 +0300 |
commit | 47ce7c854563fe8450e9cb8dcd62c6470e28076b (patch) | |
tree | 5ae530496286f1f3668847ca49314af64b8da630 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | d55acb9732d981c7a8e07dd63089a77d2938e382 (diff) | |
download | linux-47ce7c854563fe8450e9cb8dcd62c6470e28076b.tar.xz |
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 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions