Mark Pashmfouroush wrote:
It may be helpful to have access to the ifindex during bpf socket lookup. Add this to the bpf_sk_lookup API.
Signed-off-by: Mark Pashmfouroush markpash@cloudflare.com
Would be nice to have more details on the 'use case' here. I don't know off-hand how it 'may be helpful'.
For the actual code though LGTM.
Acked-by: John Fastabend john.fastabend@gmail.com