diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 04:27:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:15 -0500 |
commit | 4b3d15ef4a88683d93d1b76351297d2298a02a99 (patch) | |
tree | ec8b02db4089a03e179a48190ded490ddc082004 /net/netfilter/nf_queue.c | |
parent | 02f014d88831f73b895c1fe09badb66c88e932d3 (diff) |
[NETFILTER]: {nfnetlink,ip,ip6}_queue: kill issue_verdict
Now that issue_verdict doesn't need to free the queue entries anymore,
all it does is disable local BHs and call nf_reinject. Move the BH
disabling to the okfn invocation in nf_reinject and kill the
issue_verdict functions.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c index d9d3dc4ce1a..f0dc7270411 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c | |||
@@ -275,7 +275,9 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict) | |||
275 | switch (verdict & NF_VERDICT_MASK) { | 275 | switch (verdict & NF_VERDICT_MASK) { |
276 | case NF_ACCEPT: | 276 | case NF_ACCEPT: |
277 | case NF_STOP: | 277 | case NF_STOP: |
278 | local_bh_disable(); | ||
278 | entry->okfn(skb); | 279 | entry->okfn(skb); |
280 | local_bh_enable(); | ||
279 | case NF_STOLEN: | 281 | case NF_STOLEN: |
280 | break; | 282 | break; |
281 | case NF_QUEUE: | 283 | case NF_QUEUE: |