Skip to content

Commit

Permalink
ipvs: lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiaoyu Du authored and Patrick McHardy committed Jul 9, 2010
1 parent 72c7664 commit 8a0acaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/ipvs/ip_vs_proto_sctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8a0acaa

Please sign in to comment.