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
00-INDEX -rw-r--r-- 636 bytes
SBC8260_memory_mapping.txt -rw-r--r-- 7.9 KB
cpu_features.txt -rw-r--r-- 2.6 KB
eeh-pci-error-recovery.txt -rw-r--r-- 14.8 KB
hvcs.txt -rw-r--r-- 23.2 KB
mpc52xx.txt -rw-r--r-- 1.2 KB
ppc_htab.txt -rw-r--r-- 4.4 KB
smp.txt -rw-r--r-- 1.4 KB
sound.txt -rw-r--r-- 3.3 KB
zImage_layout.txt -rw-r--r-- 1.6 KB

back to top