]> err.no Git - linux-2.6/blobdiff - net/bridge/netfilter/ebtable_filter.c
[NETNS]: Consolidate kernel netlink socket destruction.
[linux-2.6] / net / bridge / netfilter / ebtable_filter.c
index 81d84145c417ca8eda14cca79734f66a5f85bbd6..fb810908732f6b420de1ada658915fa80463ae8e 100644 (file)
@@ -61,13 +61,13 @@ static struct ebt_table frame_filter =
 };
 
 static unsigned int
-ebt_hook (unsigned int hook, struct sk_buff **pskb, const struct net_device *in,
+ebt_hook(unsigned int hook, struct sk_buff *skb, const struct net_device *in,
    const struct net_device *out, int (*okfn)(struct sk_buff *))
 {
-       return ebt_do_table(hook, pskb, in, out, &frame_filter);
+       return ebt_do_table(hook, skb, in, out, &frame_filter);
 }
 
-static struct nf_hook_ops ebt_ops_filter[] = {
+static struct nf_hook_ops ebt_ops_filter[] __read_mostly = {
        {
                .hook           = ebt_hook,
                .owner          = THIS_MODULE,