Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756669Ab0GHMNY (ORCPT ); Thu, 8 Jul 2010 08:13:24 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:42255 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752376Ab0GHMNW (ORCPT ); Thu, 8 Jul 2010 08:13:22 -0400 Date: Thu, 8 Jul 2010 21:13:19 +0900 From: Simon Horman To: xiaoyu Du Cc: linux-kernel@vger.kernel.org, lvs-devel@vger.kernel.org, wensong@linux-vs.org, NetDev , Patrick McHardy Subject: Re: [PATCH] lvs sctp protocol handler is incorrectly invoked ip_vs_app_pkt_out Message-ID: <20100708121319.GC17985@verge.net.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 40 On Thu, Jul 08, 2010 at 09:55:04AM +0800, xiaoyu Du wrote: > 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 Thanks Xiaoyu. Acked-by: Simon Horman Patrick, please consider applying this. nf-next should be sufficient, as according to Xiaoyu there aren't actually helpers that exercise this code at the moment. > --- > 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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/