Fix typo and while here another one.

Reviewed by:	keramida
Reported by:	keramida
MFC after:	2 months (with r184720)
This commit is contained in:
Bjoern A. Zeeb 2008-11-06 16:30:20 +00:00
parent 65d75768c3
commit 8e5c87f4b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184731

View File

@ -1501,7 +1501,7 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
* only accepting RSTs where the sequence number is equal to
* last_ack_sent. In all other states (the states in which a
* RST is more likely), the more permissive check is used.
* If we have multiple segments in flight, the intial reset
* If we have multiple segments in flight, the initial reset
* segment sequence numbers will be to the left of last_ack_sent,
* but they will eventually catch up.
* In any case, it never made sense to trim reset segments to
@ -2849,7 +2849,7 @@ tcp_mss_update(struct tcpcb *tp, int offer,
*/
if (maxmtu == 0) {
/*
* In case we return early we need to intialize metrics
* In case we return early we need to initialize metrics
* to a defined state as tcp_hc_get() would do for us
* if there was no cache hit.
*/