projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/netfilter/core.c
b/net/netfilter/core.c
index a90ac83c591852a6bf7be42fb32b9f572ddcbb6e..5bb34737501f988a00d006ae6c260aecd3312d51 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;
}