From: Xiaoyu Du Date: Fri, 9 Jul 2010 15:27:47 +0000 (+0200) Subject: ipvs: lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out X-Git-Tag: v3.0~4150^2~46^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275;p=platform%2Fkernel%2Flinux-amlogic.git ipvs: lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out Since there's no sctp helpers at present, it does the same thing as ip_vs_app_pkt_in. Signed-off-by: Xiaoyu Du Acked-by: Simon Horman Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/ipvs/ip_vs_proto_sctp.c b/net/netfilter/ipvs/ip_vs_proto_sctp.c index c9a3f7a..db55759 100644 --- a/net/netfilter/ipvs/ip_vs_proto_sctp.c +++ b/net/netfilter/ipvs/ip_vs_proto_sctp.c @@ -173,7 +173,7 @@ sctp_dnat_handler(struct sk_buff *skb, return 0; /* Call application helper if needed */ - if (!ip_vs_app_pkt_out(cp, skb)) + if (!ip_vs_app_pkt_in(cp, skb)) return 0; }