Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Xiaoyu Du and committed by
Patrick McHardy
8a0acaac 72c7664f

+1 -1
+1 -1
net/netfilter/ipvs/ip_vs_proto_sctp.c
··· 173 173 return 0; 174 174 175 175 /* Call application helper if needed */ 176 - if (!ip_vs_app_pkt_out(cp, skb)) 176 + if (!ip_vs_app_pkt_in(cp, skb)) 177 177 return 0; 178 178 } 179 179