diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-18 16:29:08 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-02-18 16:29:08 +0100 |
commit | fecea3a389c89de9afae2eda74fad894d5677229 (patch) | |
tree | 0dea2a61df9ed4011bf399e8b0eb3bbde451a000 /net | |
parent | fe2a7ce4de07472ace0cdf460a41f462a4621687 (diff) |
netfilter: remove unneeded goto
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/core.c b/net/netfilter/core.c index a90ac83c5918..5bb34737501f 100644 --- a/net/netfilter/core.c +++ b/net/netfilter/core.c @@ -174,7 +174,6 @@ next_hook: outdev, &elem, okfn, hook_thresh); if (verdict == NF_ACCEPT || verdict == NF_STOP) { ret = 1; - goto unlock; } else if (verdict == NF_DROP) { kfree_skb(skb); ret = -EPERM; @@ -183,7 +182,6 @@ next_hook: verdict >> NF_VERDICT_BITS)) goto next_hook; } -unlock: rcu_read_unlock(); return ret; } |