From owner-svn-src-all@FreeBSD.ORG Tue Oct 30 10:18:36 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F39AF90; Tue, 30 Oct 2012 10:18:36 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id DAA2D8FC0C; Tue, 30 Oct 2012 10:18:35 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q9UAIYbS036359; Tue, 30 Oct 2012 14:18:34 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q9UAIYmf036358; Tue, 30 Oct 2012 14:18:34 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 30 Oct 2012 14:18:34 +0400 From: Gleb Smirnoff To: Michael Tuexen Subject: Re: svn commit: r242325 - head/sys/netinet Message-ID: <20121030101834.GB70741@FreeBSD.org> References: <201210292042.q9TKgmY5040403@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201210292042.q9TKgmY5040403@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 10:18:36 -0000 On Mon, Oct 29, 2012 at 08:42:48PM +0000, Michael Tuexen wrote: M> Author: tuexen M> Date: Mon Oct 29 20:42:48 2012 M> New Revision: 242325 M> URL: http://svn.freebsd.org/changeset/base/242325 M> M> Log: M> Use ntohs() and htons() in correct order. However, this doesn't change M> functionality. Oh, sorry for that. Thanks for fixing! M> Modified: M> head/sys/netinet/sctputil.c M> M> Modified: head/sys/netinet/sctputil.c M> ============================================================================== M> --- head/sys/netinet/sctputil.c Mon Oct 29 18:06:09 2012 (r242324) M> +++ head/sys/netinet/sctputil.c Mon Oct 29 20:42:48 2012 (r242325) M> @@ -6821,7 +6821,7 @@ sctp_recv_udp_tunneled_packet(struct mbu M> switch (iph->ip_v) { M> #ifdef INET M> case IPVERSION: M> - iph->ip_len = ntohs(htons(iph->ip_len) - sizeof(struct udphdr)); M> + iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr)); M> sctp_input_with_port(m, off, port); M> break; M> #endif M> _______________________________________________ M> svn-src-all@freebsd.org mailing list M> http://lists.freebsd.org/mailman/listinfo/svn-src-all M> To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- Totus tuus, Glebius.