]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TCP]: Fix redundant calculations of tcp_current_mss()
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:19:23 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:19:23 +0000 (15:19 -0700)
commita2e2a59c93cc8ba39caa9011c2573f429e40ccd9
tree6eae3953758b1dd84fa42b0545dd5dfd95c65b19
parent92df7b518dcb113de8bc2494e3cd275ad887f12b
[TCP]: Fix redundant calculations of tcp_current_mss()

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>
include/net/tcp.h
net/ipv4/tcp_output.c