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 protected]>
ouch. Thanks for the fix! Acked-by: Alexei Starovoitov <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
