projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9b305c
)
[NETFILTER]: Remove okfn usage in ip_vs_core.c
author
Patrick McHardy
<kaber@trash.net>
Thu, 5 Jan 2006 20:20:40 +0000
(12:20 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Jan 2006 20:20:40 +0000
(12:20 -0800)
okfn should only be used from different contexts to avoid deep call chains,
i.e. by nf_queue.
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ipvs/ip_vs_core.c
b/net/ipv4/ipvs/ip_vs_core.c
index 1aca94a9fd8b977ef877fb8e507e808eb8aa2de5..3f47ad8e1cad1c7f8165b6e5c003a3f919711e4a 100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_core.c
+++ b/
net/ipv4/ipvs/ip_vs_core.c
@@
-532,11
+532,8
@@
static unsigned int ip_vs_post_routing(unsigned int hooknum,
{
if (!((*pskb)->ipvs_property))
return NF_ACCEPT;
-
/* The packet was sent from IPVS, exit this chain */
- (*okfn)(*pskb);
-
- return NF_STOLEN;
+ return NF_STOP;
}
u16 ip_vs_checksum_complete(struct sk_buff *skb, int offset)