]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netfilter/nfnetlink_log.c
[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg
[mv-sheeva.git] / net / netfilter / nfnetlink_log.c
index 2c7bd2eb0294400ed1175749f41281ed4f7b735b..02e63577e156a600a81fec20ad1f5ae42b4b7b59 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/jhash.h>
 #include <linux/random.h>
 #include <net/sock.h>
+#include <net/netfilter/nf_log.h>
 
 #include <asm/atomic.h>
 
@@ -725,7 +726,7 @@ nfulnl_recv_unsupp(struct sock *ctnl, struct sk_buff *skb,
        return -ENOTSUPP;
 }
 
-static struct nf_logger nfulnl_logger = {
+static const struct nf_logger nfulnl_logger = {
        .name   = "nfnetlink_log",
        .logfn  = &nfulnl_log_packet,
        .me     = THIS_MODULE,