summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Even <baruch@ev-en.org>2004-09-07 23:41:45 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-09-07 23:41:45 -0700
commitd4576fcb868f2fbd43a1e9ed2164fbeca985ee01 (patch)
tree7d2bab084ba2ae8878f0928693f7c9720336684d
parentd3b7e367662c63ff1f577f5a57fcd733bd818cb5 (diff)
[TCP]: Fix some typos.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/tcp.h2
-rw-r--r--net/ipv4/tcp_output.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 86ca98c5ef8f..c03df4894379 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -271,7 +271,7 @@ struct tcp_opt {
/* RTT measurement */
__u8 backoff; /* backoff */
- __u32 srtt; /* smothed round trip time << 3 */
+ __u32 srtt; /* smoothed round trip time << 3 */
__u32 mdev; /* medium deviation */
__u32 mdev_max; /* maximal mdev for the last rtt period */
__u32 rttvar; /* smoothed mdev_max */
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 32174549304e..36a345ece94c 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1097,7 +1097,7 @@ void tcp_xmit_retransmit_queue(struct sock *sk)
/* Yeah, we have to make difficult choice between forward transmission
* and retransmission... Both ways have their merits...
*
- * For now we do not retrnamsit anything, while we have some new
+ * For now we do not retransmit anything, while we have some new
* segments to send.
*/