summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorKrishna Kumar2009-12-08 23:26:13 +0100
committerDavid S. Miller2009-12-23 23:13:28 +0100
commit12d50c46dc0f7fd2e625c4befaa5fa5740a7a594 (patch)
tree03e0179cd2d0e7d02f67623ee2760a5fe6c3fcac /net/ipv4/tcp.c
parentnetxen: fix unified fw size check (diff)
downloadkernel-qcow2-linux-12d50c46dc0f7fd2e625c4befaa5fa5740a7a594.tar.gz
kernel-qcow2-linux-12d50c46dc0f7fd2e625c4befaa5fa5740a7a594.tar.xz
kernel-qcow2-linux-12d50c46dc0f7fd2e625c4befaa5fa5740a7a594.zip
tcp: Remove check in __tcp_push_pending_frames
tcp_push checks tcp_send_head and calls __tcp_push_pending_frames, which again checks tcp_send_head, and this unnecessary check is done for every other caller of __tcp_push_pending_frames. Remove tcp_send_head check in __tcp_push_pending_frames and add the check to tcp_push_pending_frames. Other functions call __tcp_push_pending_frames only when tcp_send_head would evaluate to true. Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com> Acked-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions