[PATCH] tcp: fix __tcp_transmit_skb's comment text

From: Geliang Tang
Date: Tue Feb 26 2019 - 03:41:09 EST


The function name tcp_do_sendmsg has been renamed. But it still
appears in __tcp_transmit_skb's comment text. This patch changes
it to tcp_sendmsg_locked.

Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>
---
net/ipv4/tcp_output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index e72aa0ff5785..67a43b966b8a 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1003,7 +1003,7 @@ static void tcp_update_skb_after_send(struct sock *sk, struct sk_buff *skb,
}

/* This routine actually transmits TCP packets queued in by
- * tcp_do_sendmsg(). This is used by both the initial
+ * tcp_sendmsg_locked(). This is used by both the initial
* transmission and possible later retransmissions.
* All SKB's seen here are completely headerless. It is our
* job to build the TCP header, and pass the packet down to
--
2.17.1