diff options
author | Xiaoyu Du <tingsrain@gmail.com> | 2010-07-09 17:27:47 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-09 17:27:47 +0200 |
commit | 8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275 (patch) | |
tree | ca643ee839d77056f9e9e2e4fcbabc79de2c623f /net/netfilter/ipvs/ip_vs_proto_sctp.c | |
parent | 72c7664f9278b31fcf6b7828c1417caca5b68104 (diff) | |
download | op-kernel-dev-8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275.zip op-kernel-dev-8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275.tar.gz |
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/netfilter/ipvs/ip_vs_proto_sctp.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_proto_sctp.c | 2 |
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 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; } |