aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorXiaoyu Du <tingsrain@gmail.com>2010-07-09 17:27:47 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-09 17:27:47 +0200
commit8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275 (patch)
treeca643ee839d77056f9e9e2e4fcbabc79de2c623f /net
parent72c7664f9278b31fcf6b7828c1417caca5b68104 (diff)
downloadkernel_samsung_smdk4412-8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275.tar.gz
kernel_samsung_smdk4412-8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275.tar.bz2
kernel_samsung_smdk4412-8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275.zip
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 <tingsrain@gmail.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/ipvs/ip_vs_proto_sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto_sctp.c b/net/netfilter/ipvs/ip_vs_proto_sctp.c
index c9a3f7a21d5..db5575967c1 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;
}