diff options
author | Eric Leblond <eric@inl.fr> | 2009-03-26 04:03:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-26 04:03:23 -0400 |
commit | 704b3ea3b9b4ea0e115208946abd5c8a64080113 (patch) | |
tree | 76f01c0753b47f7400e55b9005c94d0919152aa4 /net/bridge | |
parent | a6c42322722976ca81e6d02e4a702f33d659d8fc (diff) |
netfilter: fix warning about invalid const usage
This patch fixes the declaration of the logger structure in ebt_log
and ebt_ulog: I forgot to remove the const option from their declaration
in the commit ca735b3aaa945626ba65a3e51145bfe4ecd9e222 ("netfilter:
use a linked list of loggers").
Pointed-out-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Leblond <eric@inl.fr>
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 d44cbf8c374a..a94f3cc377c0 100644 --- a/net/bridge/netfilter/ebt_log.c +++ b/net/bridge/netfilter/ebt_log.c | |||
@@ -214,7 +214,7 @@ static struct xt_target ebt_log_tg_reg __read_mostly = { | |||
214 | .me = THIS_MODULE, | 214 | .me = THIS_MODULE, |
215 | }; | 215 | }; |
216 | 216 | ||
217 | static const struct nf_logger ebt_log_logger = { | 217 | static struct nf_logger ebt_log_logger __read_mostly = { |
218 | .name = "ebt_log", | 218 | .name = "ebt_log", |
219 | .logfn = &ebt_log_packet, | 219 | .logfn = &ebt_log_packet, |
220 | .me = THIS_MODULE, | 220 | .me = THIS_MODULE, |
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 2c6d6823e703..80c78c5611b4 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c | |||
@@ -279,7 +279,7 @@ static struct xt_target ebt_ulog_tg_reg __read_mostly = { | |||
279 | .me = THIS_MODULE, | 279 | .me = THIS_MODULE, |
280 | }; | 280 | }; |
281 | 281 | ||
282 | static const struct nf_logger ebt_ulog_logger = { | 282 | static struct nf_logger ebt_ulog_logger __read_mostly = { |
283 | .name = "ulog", | 283 | .name = "ulog", |
284 | .logfn = &ebt_log_packet, | 284 | .logfn = &ebt_log_packet, |
285 | .me = THIS_MODULE, | 285 | .me = THIS_MODULE, |