[NETFILTER]: Remove okfn usage in ip_vs_core.c

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>
This commit is contained in:
Patrick McHardy 2006-01-05 12:20:40 -08:00 committed by David S. Miller
parent a9b305c4e5
commit abbcc73982
1 changed files with 1 additions and 4 deletions

View File

@ -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)