On Wed, Dec 9, 2020 at 2:29 PM Florent Revest <rev...@chromium.org> wrote:
>
> This needs two new helpers, one that works in a sleepable context (using
> sock_gen_cookie which disables/enables preemption) and one that does not
> (for performance reasons). Both take a struct sock pointer and need to
> check it for NULLness.
>
> This helper could also be useful to other BPF program types such as LSM.
>
> Signed-off-by: Florent Revest <rev...@chromium.org>

Acked-by: KP Singh <kpsi...@kernel.org>

Reply via email to