Subject: Re: [PATCH net] bpf: fix panic in SO_GET_FILTER with native ebpf programs

From: Alexei Starovoitov <[email-masked]>
Date: Fri, 2 Oct 2015 08:04:03 -0700

On 10/2/15 3:06 AM, Daniel Borkmann wrote:
> However, sk_get_filter() wasn't updated to test for this at the
> time when eBPF could be attached. Just throw an error to the user
> to indicate that eBPF cannot be dumped over this interface.
> That way, it can also be known that a program_is_  attached (as
> opposed to just return 0), and a different (future) method needs
> to be consulted for a dump.
>
> Fixes: 89aa075832b0 ("net: sock: allow eBPF programs to be attached to sockets")
> Signed-off-by: Daniel Borkmann<[email-masked]>

ouch. Thanks for the fix!
Acked-by: Alexei Starovoitov <[email-masked]>