]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ipvs: lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out
authorXiaoyu Du <tingsrain@gmail.com>
Fri, 9 Jul 2010 15:27:47 +0000 (17:27 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 9 Jul 2010 15:27:47 +0000 (17:27 +0200)
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 <tingsrain@gmail.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipvs/ip_vs_proto_sctp.c

index c9a3f7a21d53b2de0ff597d18b0a37061e57f8a3..db5575967c1401365b55d4fa864d553b3489ab33 100644 (file)
@@ -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;
        }