• I
    tcp: use tcp_write_xmit also in tcp_push_one · d5dd9175
    Ilpo Järvinen 提交于
    tcp_minshall_update is not significant difference since it only
    checks for not full-sized skb which is BUG'ed on the push_one
    path anyway.
    
    tcp_snd_test is tcp_nagle_test+tcp_cwnd_test+tcp_snd_wnd_test,
    just the order changed slightly.
    
    net/ipv4/tcp_output.c:
      tcp_snd_test              |  -89
      tcp_mss_split_point       |  -91
      tcp_may_send_now          |  +53
      tcp_cwnd_validate         |  -98
      tso_fragment              | -239
      __tcp_push_pending_frames | -1340
      tcp_push_one              | -146
     7 functions changed, 53 bytes added, 2003 bytes removed, diff: -1950
    
    net/ipv4/tcp_output.c:
      tcp_write_xmit | +1772
     1 function changed, 1772 bytes added, diff: +1772
    
    tcp_output.o.new:
     8 functions changed, 1825 bytes added, 2003 bytes removed, diff: -178
    Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d5dd9175
tcp_output.c 73.7 KB