Commit 8a0acaac authored by Xiaoyu Du's avatar Xiaoyu Du Committed by Patrick McHardy

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: default avatarXiaoyu Du <tingsrain@gmail.com>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 72c7664f
...@@ -173,7 +173,7 @@ sctp_dnat_handler(struct sk_buff *skb, ...@@ -173,7 +173,7 @@ sctp_dnat_handler(struct sk_buff *skb,
return 0; return 0;
/* Call application helper if needed */ /* Call application helper if needed */
if (!ip_vs_app_pkt_out(cp, skb)) if (!ip_vs_app_pkt_in(cp, skb))
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment