diff options
-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 24ad41e6601b..1fc7152fba8f 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c | |||
@@ -155,13 +155,13 @@ int nf_queue(struct sk_buff **skb, | |||
155 | if (physoutdev) dev_hold(physoutdev); | 155 | if (physoutdev) dev_hold(physoutdev); |
156 | } | 156 | } |
157 | #endif | 157 | #endif |
158 | if (queue_rerouter[pf]->save) | 158 | if (queue_rerouter[pf]) |
159 | queue_rerouter[pf]->save(*skb, info); | 159 | queue_rerouter[pf]->save(*skb, info); |
160 | 160 | ||
161 | status = queue_handler[pf]->outfn(*skb, info, queuenum, | 161 | status = queue_handler[pf]->outfn(*skb, info, queuenum, |
162 | queue_handler[pf]->data); | 162 | queue_handler[pf]->data); |
163 | 163 | ||
164 | if (status >= 0 && queue_rerouter[pf]->reroute) | 164 | if (status >= 0 && queue_rerouter[pf]) |
165 | status = queue_rerouter[pf]->reroute(skb, info); | 165 | status = queue_rerouter[pf]->reroute(skb, info); |
166 | 166 | ||
167 | read_unlock(&queue_handler_lock); | 167 | read_unlock(&queue_handler_lock); |