diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-17 22:39:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:58:59 -0800 |
commit | 7b2f9631e789c3e7d59201c21f09a24cd6ce3b1a (patch) | |
tree | 83a7ded3b78af85b5a1923fb15165248e99b4f7a /net/bridge | |
parent | f01ffbd6e7d001ccf9168b33507958a51ce0ffcf (diff) | |
download | linux-3.10-7b2f9631e789c3e7d59201c21f09a24cd6ce3b1a.tar.gz linux-3.10-7b2f9631e789c3e7d59201c21f09a24cd6ce3b1a.tar.bz2 linux-3.10-7b2f9631e789c3e7d59201c21f09a24cd6ce3b1a.zip |
[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebt_log.c | 2 | ||||
-rw-r--r-- | net/bridge/netfilter/ebt_ulog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c index fcb3b54dc19..3be9e989855 100644 --- a/net/bridge/netfilter/ebt_log.c +++ b/net/bridge/netfilter/ebt_log.c @@ -183,7 +183,7 @@ static struct ebt_watcher log = .me = THIS_MODULE, }; -static struct nf_logger ebt_log_logger = { +static const struct nf_logger ebt_log_logger = { .name = "ebt_log", .logfn = &ebt_log_packet, .me = THIS_MODULE, diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 1b9ca07f44f..b73ba28bcbe 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c @@ -279,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, |