diff options
| author | Justin Iurman <[email protected]> | 2025-04-15 11:25:54 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-04-17 10:52:34 +0000 |
| commit | 47ce7c854563fe8450e9cb8dcd62c6470e28076b (patch) | |
| tree | 5ae530496286f1f3668847ca49314af64b8da630 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | net: ipv6: ioam6: use consistent dst names (diff) | |
| download | kernel-47ce7c854563fe8450e9cb8dcd62c6470e28076b.tar.gz kernel-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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
