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
Kconfig -rw-r--r-- 8.3 KB
Makefile -rw-r--r-- 556 bytes
acorn.c -rw-r--r-- 12.0 KB
acorn.h -rw-r--r-- 623 bytes
amiga.c -rw-r--r-- 3.3 KB
amiga.h -rw-r--r-- 116 bytes
atari.c -rw-r--r-- 3.8 KB
atari.h -rw-r--r-- 1.1 KB
check.c -rw-r--r-- 10.6 KB
check.h -rw-r--r-- 571 bytes
devfs.c -rw-r--r-- 2.8 KB
devfs.h -rw-r--r-- 328 bytes
efi.c -rw-r--r-- 19.6 KB
efi.h -rw-r--r-- 4.3 KB
ibm.c -rw-r--r-- 4.6 KB
ibm.h -rw-r--r-- 70 bytes
ldm.c -rw-r--r-- 41.0 KB
ldm.h -rw-r--r-- 5.7 KB
mac.c -rw-r--r-- 3.1 KB
mac.h -rw-r--r-- 1.3 KB
msdos.c -rw-r--r-- 12.6 KB
msdos.h -rw-r--r-- 151 bytes
osf.c -rw-r--r-- 1.7 KB
osf.h -rw-r--r-- 150 bytes
sgi.c -rw-r--r-- 2.2 KB
sgi.h -rw-r--r-- 155 bytes
sun.c -rw-r--r-- 2.5 KB
sun.h -rw-r--r-- 152 bytes
ultrix.c -rw-r--r-- 1.1 KB
ultrix.h -rw-r--r-- 117 bytes

back to top