mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: db <db.pub.mail@gmail.com>
To: justinmattock@gmail.com
Cc: linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: PATCH Re: misspelling on line 1190 of net/ipv4/udp.c .
Date: Wed, 25 Mar 2009 12:28:55 +1100	[thread overview]
Message-ID: <25ae2d690903241828p5549f525neae980ac22cea979@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

2009/3/25  <justinmattock@gmail.com>:
> On Tue, 24 Mar 2009, db wrote:
>
>> Hi, i think there is a misspelling of the  word checksumming (if it
>> is an actual  word ^^) on line 1190 of net/ipv4/udp.c .
>>
>> The line reads, " * Otherwise, csum completion requires chacksumming
>> packet body,"
>>
>> Perhaps the line can be changed to "* Otherwise, csum completion
>> requires a checksum of the packet body".
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>>
>
>
> Well.
> What are you waiting for, submit a patch. :^)
>
> regards,
>
> -- Justin P. Mattock
>

Ok i have made an attempt, haven't done this before ^^ . Please let me
know if i have done something wrong.

[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 608 bytes --]

--- linux-2.6.29/net/ipv4/udp.c.orig	2009-03-25 12:23:05.000000000 +1100
+++ linux-2.6.29/net/ipv4/udp.c	2009-03-25 12:24:46.000000000 +1100
@@ -1187,7 +1187,7 @@ static int __udp4_lib_mcast_deliver(stru
 
 /* Initialize UDP checksum. If exited with zero value (success),
  * CHECKSUM_UNNECESSARY means, that no more checks are required.
- * Otherwise, csum completion requires chacksumming packet body,
+ * Otherwise, csum completion requires a checksum of the packet body,
  * including udp header and folding it to skb->csum.
  */
 static inline int udp4_csum_init(struct sk_buff *skb, struct udphdr *uh,

             reply	other threads:[~2009-03-25  1:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25  1:28 db [this message]
2009-03-25  2:05 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25ae2d690903241828p5549f525neae980ac22cea979@mail.gmail.com \
    --to=db.pub.mail@gmail.com \
    --cc=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®