projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2a7ce
)
netfilter: remove unneeded goto
author
Jan Engelhardt
<jengelh@medozas.de>
Wed, 18 Feb 2009 15:29:08 +0000
(16:29 +0100)
committer
Patrick McHardy
<kaber@trash.net>
Wed, 18 Feb 2009 15:29:08 +0000
(16:29 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/core.c
patch
|
blob
|
history
diff --git
a/net/netfilter/core.c
b/net/netfilter/core.c
index
a90ac83
..
5bb3473
100644
(file)
--- 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;
}