diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-17 22:42:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:59:05 -0800 |
commit | 1e796fda00f06bac584f0e4ad8750ab9430d79d3 (patch) | |
tree | c397d3c84060a0a3dcc83f4bdbb3a470cfd8db06 /net/netfilter/nf_queue.c | |
parent | 90a9ba8dd90bcffe279d3272545bccba6dcc8d7c (diff) | |
download | kernel_samsung_smdk4412-1e796fda00f06bac584f0e4ad8750ab9430d79d3.zip kernel_samsung_smdk4412-1e796fda00f06bac584f0e4ad8750ab9430d79d3.tar.gz kernel_samsung_smdk4412-1e796fda00f06bac584f0e4ad8750ab9430d79d3.tar.bz2 |
[NETFILTER]: constify nf_afinfo
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_queue.c')
-rw-r--r-- | net/netfilter/nf_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c index 7796511..bfc2928 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c @@ -119,7 +119,7 @@ static int __nf_queue(struct sk_buff *skb, struct net_device *physindev; struct net_device *physoutdev; #endif - struct nf_afinfo *afinfo; + const struct nf_afinfo *afinfo; const struct nf_queue_handler *qh; /* QUEUE == DROP if noone is waiting, to be safe. */ @@ -233,7 +233,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict) { struct sk_buff *skb = entry->skb; struct list_head *elem = &entry->elem->list; - struct nf_afinfo *afinfo; + const struct nf_afinfo *afinfo; rcu_read_lock(); |