[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091223.141550.112591784.davem@davemloft.net>
Date: Wed, 23 Dec 2009 14:15:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: krkumar2@...ibm.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] tcp: Remove check in __tcp_push_pending_frames
From: Krishna Kumar <krkumar2@...ibm.com>
Date: Wed, 09 Dec 2009 13:56:13 +0530
> From: Krishna Kumar <krkumar2@...ibm.com>
>
> tcp_push checks tcp_send_head and calls __tcp_push_pending_frames,
> which again checks tcp_send_head, and this unnecessary check is
> done for every other caller of __tcp_push_pending_frames.
>
> Remove tcp_send_head check in __tcp_push_pending_frames and add
> the check to tcp_push_pending_frames. Other functions call
> __tcp_push_pending_frames only when tcp_send_head would evaluate
> to true.
>
> Signed-off-by: Krishna Kumar <krkumar2@...ibm.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists