aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2007-12-21 11:07:41 +0000
committerDavid S. Miller <[email protected]>2008-01-28 22:59:59 +0000
commit8df09ea3b8ccfe0c94844102d33fa46f57c08d9e (patch)
treea7e91a1e2c9eea21b1e1a6a67bd855899627aafe /net/ipv4/tcp_input.c
parent[TCP]: tcp_write_timeout.c cleanup (diff)
downloadkernel-8df09ea3b8ccfe0c94844102d33fa46f57c08d9e.tar.gz
kernel-8df09ea3b8ccfe0c94844102d33fa46f57c08d9e.zip
[SOCK] Avoid integer divides where not necessary in include/net/sock.h
Because sk_wmem_queued, sk_sndbuf are signed, a divide per two may force compiler to use an integer divide. We can instead use a right shift. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions