[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <476B574E.80601@cosmosbay.com>
Date: Fri, 21 Dec 2007 07:03:58 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>,
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org>
CC: Linux Netdev List <netdev@...r.kernel.org>
Subject: [TCP] IPV6 : Change a divide into a right shift in tcp_v6_send_ack()
Because tot_len is signed in tcp_v6_send_ack(), tot_len/4 forces compiler
to emit an integer divide, while we can help it to use a right shift,
less expensive.
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "tcp_ipv6.patch" of type "text/plain" (415 bytes)
Powered by blists - more mailing lists