https://github.com/torvalds/linux
Revision a2e2a59c93cc8ba39caa9011c2573f429e40ccd9 authored by David S. Miller on 05 July 2005, 22:19:23 UTC, committed by David S. Miller on 05 July 2005, 22:19:23 UTC
tcp_write_xmit() uses tcp_current_mss(), but some of it's callers,
namely __tcp_push_pending_frames(), already has this value available
already.

While we're here, fix the "cur_mss" argument to be "unsigned int"
instead of plain "unsigned".

Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 92df7b5
History
Tip revision: a2e2a59c93cc8ba39caa9011c2573f429e40ccd9 authored by David S. Miller on 05 July 2005, 22:19:23 UTC
[TCP]: Fix redundant calculations of tcp_current_mss()
Tip revision: a2e2a59
File Mode Size
Makefile -rw-r--r-- 378 bytes
array.c -rw-r--r-- 12.0 KB
base.c -rw-r--r-- 48.3 KB
generic.c -rw-r--r-- 15.9 KB
inode-alloc.txt -rw-r--r-- 413 bytes
inode.c -rw-r--r-- 4.5 KB
internal.h -rw-r--r-- 1.3 KB
kcore.c -rw-r--r-- 9.8 KB
kmsg.c -rw-r--r-- 1.1 KB
mmu.c -rw-r--r-- 1.8 KB
nommu.c -rw-r--r-- 3.1 KB
proc_devtree.c -rw-r--r-- 3.1 KB
proc_misc.c -rw-r--r-- 16.9 KB
proc_tty.c -rw-r--r-- 5.8 KB
root.c -rw-r--r-- 3.9 KB
task_mmu.c -rw-r--r-- 5.3 KB
task_nommu.c -rw-r--r-- 3.7 KB
vmcore.c -rw-r--r-- 16.3 KB

back to top