From: Willem de Bruijn <willemdebruijn.ker...@gmail.com>
Date: Tue, 11 Apr 2017 14:08:08 -0400

> From: Willem de Bruijn <will...@google.com>
> 
> BPF helper functions access socket fields through skb->sk. This is not
> set in ingress cgroup and socket filters. The association is only made
> in skb_set_owner_r once the filter has accepted the packet. Sk is
> available as socket lookup has taken place.
> 
> Temporarily set skb->sk to sk in these cases.
> 
> Signed-off-by: Willem de Bruijn <will...@google.com>

Applied, thank you.

Reply via email to