diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 04:23:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:09 -0500 |
commit | e3ac5298159c5286cef86f0865d4fa6a606bd391 (patch) | |
tree | e2d398667438d5e9e4cb688af03a37c6198e2e72 /net/ipv4 | |
parent | fb46990dba94866462e90623e183d02ec591cf8f (diff) |
[NETFILTER]: nf_queue: make queue_handler const
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c index 14d64a383db1..062ff196f2c5 100644 --- a/net/ipv4/netfilter/ip_queue.c +++ b/net/ipv4/netfilter/ip_queue.c | |||
@@ -645,7 +645,7 @@ static const struct file_operations ip_queue_proc_fops = { | |||
645 | .owner = THIS_MODULE, | 645 | .owner = THIS_MODULE, |
646 | }; | 646 | }; |
647 | 647 | ||
648 | static struct nf_queue_handler nfqh = { | 648 | static const struct nf_queue_handler nfqh = { |
649 | .name = "ip_queue", | 649 | .name = "ip_queue", |
650 | .outfn = &ipq_enqueue_packet, | 650 | .outfn = &ipq_enqueue_packet, |
651 | }; | 651 | }; |