]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/bridge/netfilter/ebt_ulog.c
[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg
[mv-sheeva.git] / net / bridge / netfilter / ebt_ulog.c
index e7cfd30bac756f0c97b32aaa1eb6200bcc5c47f8..b73ba28bcbe85e3c79a842f0ec2d65b80064d2ba 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/netdevice.h>
 #include <linux/netfilter_bridge/ebtables.h>
 #include <linux/netfilter_bridge/ebt_ulog.h>
+#include <net/netfilter/nf_log.h>
 #include <net/sock.h>
 #include "../br_private.h"
 
@@ -278,7 +279,7 @@ static struct ebt_watcher ulog = {
        .me             = THIS_MODULE,
 };
 
-static struct nf_logger ebt_ulog_logger = {
+static const struct nf_logger ebt_ulog_logger = {
        .name           = EBT_ULOG_WATCHER,
        .logfn          = &ebt_log_packet,
        .me             = THIS_MODULE,