Skip to content
Snippets Groups Projects
Commit a2e2a59c authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 92df7b51
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment