d71962f ("bpf: allow map helpers access to map values directly") removes that limitation from the verifier and should allow you to use map values as map keys directly. 4.18-rc1 has it.
Thanks William
Hi Paul,
Thanks a lot! This is very helpful. I'm testing it now, works great so far, and saves lots of bpf stack space.