RE: [PATCH bpf-next 1/2] bpf: Add ifindex to bpf_sk_lookup

From: John Fastabend
Date: Thu Oct 21 2021 - 15:00:26 EST


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@xxxxxxxxxxxxxx>
>

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@xxxxxxxxx>