From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shan Wei Subject: Re: [PATCH] TCP: Add comments to (near) all functions in tcp_output.c v2 Date: Mon, 20 Jul 2009 20:46:58 +0800 Message-ID: <4A646742.90200@cn.fujitsu.com> References: <20090717204004.GA516@basil.fritz.box> <20090718103159.GB2682@basil.fritz.box> <4A645DDD.8050402@cn.fujitsu.com> <20090720123404.GA16072@basil.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?UTF-8?B?SWxwbyBKw6RydmluZW4=?= , Netdev , David Miller To: Andi Kleen Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:62814 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753460AbZGTMq5 (ORCPT ); Mon, 20 Jul 2009 08:46:57 -0400 In-Reply-To: <20090720123404.GA16072@basil.fritz.box> Sender: netdev-owner@vger.kernel.org List-ID: Andi Kleen said: > On Mon, Jul 20, 2009 at 08:06:53PM +0800, Shan Wei wrote: >> Andi Kleen said: >>> =20 >>> +/* Compute TCP options for ESTABLISHED sockets. This is not the >>> + * final wire format yet. >>> + */ >> typo, =E2=80=9Cnetwork wire=E2=80=9D? >=20 > I don't see a typo. Just see the comment about tcp_syn_options(). "wire" vs "network wire". >=20 >> >>> +/* Test if sending is allowed right now. >>> + */ >>> int tcp_may_send_now(struct sock *sk) >> Is it better to provide the condition be allowed? >=20 > Such a introductionary comment is not intended to be a full > representation of the code, just a overview. >=20 OK