netfilter: xt_bpf: add mising opaque struct sk_filter definition
authorPablo Neira <pablo@netfilter.org>
Tue, 29 Jul 2014 16:12:15 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2014 17:22:54 +0000 (09:22 -0800)
commit7c059c04ffe3de25d5aa66ad3541e53b94233ea3
tree65293147d0b21b91daf24a3ebc8f56771b8f907e
parent0bf7a5e16a5356b9dadc503aac66f4f587823e8b
netfilter: xt_bpf: add mising opaque struct sk_filter definition

commit e10038a8ec06ac819b7552bb67aaa6d2d6f850c1 upstream.

This structure is not exposed to userspace, so fix this by defining
struct sk_filter; so we skip the casting in kernelspace. This is safe
since userspace has no way to lurk with that internal pointer.

Fixes: e6f30c7 ("netfilter: x_tables: add xt_bpf match")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/netfilter/xt_bpf.h