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-- 1.0 KB
README -rw-r--r-- 7.9 KB
bitmap.c -rw-r--r-- 36.7 KB
dir.c -rw-r--r-- 8.7 KB
do_balan.c -rw-r--r-- 52.3 KB
file.c -rw-r--r-- 52.6 KB
fix_node.c -rw-r--r-- 81.9 KB
hashes.c -rw-r--r-- 3.7 KB
ibalance.c -rw-r--r-- 35.3 KB
inode.c -rw-r--r-- 89.4 KB
ioctl.c -rw-r--r-- 4.3 KB
item_ops.c -rw-r--r-- 19.4 KB
journal.c -rw-r--r-- 125.6 KB
lbalance.c -rw-r--r-- 42.2 KB
namei.c -rw-r--r-- 46.5 KB
objectid.c -rw-r--r-- 7.3 KB
prints.c -rw-r--r-- 21.1 KB
procfs.c -rw-r--r-- 16.1 KB
resize.c -rw-r--r-- 6.2 KB
stree.c -rw-r--r-- 71.3 KB
super.c -rw-r--r-- 67.5 KB
tail_conversion.c -rw-r--r-- 9.7 KB
xattr.c -rw-r--r-- 40.2 KB
xattr_acl.c -rw-r--r-- 14.8 KB
xattr_security.c -rw-r--r-- 1.5 KB
xattr_trusted.c -rw-r--r-- 1.8 KB
xattr_user.c -rw-r--r-- 2.1 KB

README

back to top