commit | e10038a8ec06ac819b7552bb67aaa6d2d6f850c1 | [log] [tgz] |
---|---|---|
author | Pablo Neira <pablo@netfilter.org> | Tue Jul 29 18:12:15 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 30 19:56:27 2014 -0700 |
tree | 2ba5f100c541f4514db640189056a1c428891bcf | |
parent | 5160ee93005e4c22dbf45e24448ea7d3cb375fdb [diff] |
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 <pablo@netfilter.org> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>