[NETFILTER]: Replace sk_buff ** with sk_buff *
[deliverable/linux.git] / net / netfilter / xt_NFLOG.c
index 20e55d588a3c2fe5fcbe15404129a164b99b7134..9fb449ffbf8bef0af176ce7ad474147e6b4eb1d1 100644 (file)
@@ -20,7 +20,7 @@ MODULE_ALIAS("ipt_NFLOG");
 MODULE_ALIAS("ip6t_NFLOG");
 
 static unsigned int
-nflog_target(struct sk_buff **pskb,
+nflog_target(struct sk_buff *skb,
             const struct net_device *in, const struct net_device *out,
             unsigned int hooknum, const struct xt_target *target,
             const void *targinfo)
@@ -33,7 +33,7 @@ nflog_target(struct sk_buff **pskb,
        li.u.ulog.group      = info->group;
        li.u.ulog.qthreshold = info->threshold;
 
-       nf_log_packet(target->family, hooknum, *pskb, in, out, &li,
+       nf_log_packet(target->family, hooknum, skb, in, out, &li,
                      "%s", info->prefix);
        return XT_CONTINUE;
 }
@@ -52,7 +52,7 @@ nflog_checkentry(const char *tablename, const void *entry,
        return true;
 }
 
-static struct xt_target xt_nflog_target[] = {
+static struct xt_target xt_nflog_target[] __read_mostly = {
        {
                .name           = "NFLOG",
                .family         = AF_INET,
This page took 0.026018 seconds and 5 git commands to generate.