aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-11-28 23:31:00 -0500
committerJiri Kosina <jkosina@suse.cz>2011-12-02 08:57:31 -0500
commit42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 (patch)
tree6f8fb2a1efb3e84bf281658befe06dc6a7fb026b /net
parenta13b032776379fa6e2bfccf798969ca51e5fb052 (diff)
treewide: Fix typos in various parts of the kernel, and fix some comments.
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments. Please let me know if I missed anything, and I will try to get it changed and resent. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/ip_fragment.c2
-rw-r--r--net/mac80211/work.c2
-rw-r--r--net/sctp/endpointola.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c
index fdaabf2f2b6..1f23a57aa9e 100644
--- a/net/ipv4/ip_fragment.c
+++ b/net/ipv4/ip_fragment.c
@@ -392,7 +392,7 @@ static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb)
392 /* Is this the final fragment? */ 392 /* Is this the final fragment? */
393 if ((flags & IP_MF) == 0) { 393 if ((flags & IP_MF) == 0) {
394 /* If we already have some bits beyond end 394 /* If we already have some bits beyond end
395 * or have different end, the segment is corrrupted. 395 * or have different end, the segment is corrupted.
396 */ 396 */
397 if (end < qp->q.len || 397 if (end < qp->q.len ||
398 ((qp->q.last_in & INET_FRAG_LAST_IN) && end != qp->q.len)) 398 ((qp->q.last_in & INET_FRAG_LAST_IN) && end != qp->q.len))
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index 6c53b6d1002..2accea37742 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -1094,7 +1094,7 @@ static void ieee80211_work_work(struct work_struct *work)
1094 local->tmp_channel = NULL; 1094 local->tmp_channel = NULL;
1095 /* If tmp_channel wasn't operating channel, then 1095 /* If tmp_channel wasn't operating channel, then
1096 * we need to go back on-channel. 1096 * we need to go back on-channel.
1097 * NOTE: If we can ever be here while scannning, 1097 * NOTE: If we can ever be here while scanning,
1098 * or if the hw_config() channel config logic changes, 1098 * or if the hw_config() channel config logic changes,
1099 * then we may need to do a more thorough check to see if 1099 * then we may need to do a more thorough check to see if
1100 * we still need to do a hardware config. Currently, 1100 * we still need to do a hardware config. Currently,
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c
index c8cc24e282c..68a385d7c3b 100644
--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -415,7 +415,7 @@ static void sctp_endpoint_bh_rcv(struct work_struct *work)
415 sctp_subtype_t subtype; 415 sctp_subtype_t subtype;
416 sctp_state_t state; 416 sctp_state_t state;
417 int error = 0; 417 int error = 0;
418 int first_time = 1; /* is this the first time through the looop */ 418 int first_time = 1; /* is this the first time through the loop */
419 419
420 if (ep->base.dead) 420 if (ep->base.dead)
421 return; 421 return;