summaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-12-21 06:07:53 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:00:01 -0800
commitdfd4f0ae2e111e2b93c295938c0e64ebbb69ae6e (patch)
tree0ce2c35f0ffce2553d897116e9370fdaf0433f12 /net/ipv4/esp4.c
parent8beb5c5f12c8484c59edf9b691f2c4bb4d31f3a0 (diff)
downloadlinux-dfd4f0ae2e111e2b93c295938c0e64ebbb69ae6e.tar.gz
linux-dfd4f0ae2e111e2b93c295938c0e64ebbb69ae6e.tar.bz2
linux-dfd4f0ae2e111e2b93c295938c0e64ebbb69ae6e.zip
[TCP]: Avoid two divides in __tcp_grow_window()
tcp_win_from_space() being signed, compiler might emit an integer divide to compute tcp_win_from_space()/2 . Using right shifts is OK here and less expensive. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/esp4.c')
0 files changed, 0 insertions, 0 deletions