![]() |
lvs-devel
|
| To: | linux-kernel@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out |
| Cc: | wensong@xxxxxxxxxxxx, horms@xxxxxxxxxxxx |
| From: | xiaoyu Du <tingsrain@xxxxxxxxx> |
| Date: | Thu, 8 Jul 2010 09:55:04 +0800 |
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@xxxxxxxxx>
---
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;
}
--
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: IPVS: Incorrect helper use for SCTP [was: wensong@xxxxxxxxxxxx, horms@xxxxxxxxxxxx], xiaoyu Du |
|---|---|
| Next by Date: | Re: [PATCH] lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out, Simon Horman |
| Previous by Thread: | wensong@xxxxxxxxxxxx, horms@xxxxxxxxxxxx, xiaoyu Du |
| Next by Thread: | Re: [PATCH] lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out, Simon Horman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |