Skip to content

Commit

Permalink
[NETFILTER]: remove annoying debugging message
Browse files Browse the repository at this point in the history
Don't log "nf_hook: Verdict = QUEUE." message with NETFILTER_DEBUG=y.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent daaa8be commit f9c6399
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/netfilter/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb,
} else if (verdict == NF_DROP) {
kfree_skb(skb);
ret = -EPERM;
} else if ((verdict & NF_VERDICT_MASK) == NF_QUEUE) {
NFDEBUG("nf_hook: Verdict = QUEUE.\n");
} else if ((verdict & NF_VERDICT_MASK) == NF_QUEUE) {
if (!nf_queue(skb, elem, pf, hook, indev, outdev, okfn,
verdict >> NF_VERDICT_BITS))
goto next_hook;
Expand Down

0 comments on commit f9c6399

Please sign in to comment.