From: Pablo Neira Date: Tue, 29 Jul 2014 16:12:15 +0000 (+0200) Subject: netfilter: xt_bpf: add mising opaque struct sk_filter definition X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e10038a8ec06ac819b7552bb67aaa6d2d6f850c1;p=pandora-kernel.git netfilter: xt_bpf: add mising opaque struct sk_filter definition 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 Acked-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed