netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 10611] New: Incorrect RFC section reference in comment
       [not found] <bug-10611-10286@http.bugzilla.kernel.org/>
@ 2008-05-07  6:33 ` Andrew Morton
  2008-05-07  7:24   ` [PATCH] net/ipv4: Correct RFC 1122 " J.H.M. Dassen (Ray)
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2008-05-07  6:33 UTC (permalink / raw)
  To: jdassen; +Cc: bugme-daemon, netdev

(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Tue,  6 May 2008 23:25:14 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10611
> 
>            Summary: Incorrect RFC section reference in comment
>            Product: Networking
>            Version: 2.5
>      KernelVersion: master branch
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: IPV4
>         AssignedTo: shemminger@linux-foundation.org
>         ReportedBy: jdassen@debian.org
> 
> 
> Problem Description:
> 
> RFC 1122 does not have a section 3.1.2.2. The requirement to silently
> discard packets with a bad checksum is in section 3.2.1.2 instead.
> 
> Proposed patch:
> 
> diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c
> index 212734c..5bdb8f4 100644
> --- a/net/ipv4/ip_input.c
> +++ b/net/ipv4/ip_input.c
> @@ -394,7 +394,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev,
> struct packet_type *pt,
>         iph = skb->nh.iph;
> 
>         /*
> -        *      RFC1122: 3.1.2.2 MUST silently discard any IP frame that fails
> the checksum.
> +        *      RFC1122: 3.2.1.2 MUST silently discard any IP frame that fails
> the checksum.
>          *
>          *      Is the datagram acceptable?
>          *
> 
> 

Thanks, but we much prefer that patches be handled via email.  Can you
please resend the patch as a reply-to-all to this email, along with a
signed-off-by: as per Documentation/SubmittingPatches?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] net/ipv4: Correct RFC 1122 section reference in comment
  2008-05-07  6:33 ` [Bugme-new] [Bug 10611] New: Incorrect RFC section reference in comment Andrew Morton
@ 2008-05-07  7:24   ` J.H.M. Dassen (Ray)
  0 siblings, 0 replies; 2+ messages in thread
From: J.H.M. Dassen (Ray) @ 2008-05-07  7:24 UTC (permalink / raw)
  To: Andrew Morton; +Cc: netdev, trivial

From: J.H.M. Dassen (Ray) <jdassen@debian.org>

RFC 1122 does not have a section 3.1.2.2. The requirement to silently
discard datagrams with a bad checksum is in section 3.2.1.2 instead.

Signed-off-by: J.H.M. Dassen (Ray) <jdassen@debian.org>

---

Previously submitted as http://bugzilla.kernel.org/show_bug.cgi?id=10611

diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c
index 212734c..5bdb8f4 100644
--- a/net/ipv4/ip_input.c
+++ b/net/ipv4/ip_input.c
@@ -394,7 +394,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
 	iph = skb->nh.iph;
 
 	/*
-	 *	RFC1122: 3.1.2.2 MUST silently discard any IP frame that fails the checksum.
+	 *	RFC1122: 3.2.1.2 MUST silently discard any IP frame that fails the checksum.
 	 *
 	 *	Is the datagram acceptable?
 	 *

-- 
LEADERSHIP  A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch
it'll be someone else's bones which go crack and not their own.
    - The Hipcrime Vocab by Chad C. Mulligan

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-07  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-10611-10286@http.bugzilla.kernel.org/>
2008-05-07  6:33 ` [Bugme-new] [Bug 10611] New: Incorrect RFC section reference in comment Andrew Morton
2008-05-07  7:24   ` [PATCH] net/ipv4: Correct RFC 1122 " J.H.M. Dassen (Ray)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).