From: J.H.M. Dassen (Ray) Date: Thu, 8 May 2008 08:11:04 +0000 (-0700) Subject: net/ipv4: correct RFC 1122 section reference in comment X-Git-Tag: v2.6.26-rc2~23^2~7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c67fa02799bccca3d2e16582493da6d57812ec01;p=~emulex%2Finfiniband.git net/ipv4: correct RFC 1122 section reference in comment 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. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10611 Signed-off-by: J.H.M. Dassen (Ray) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 7b4bad6d572..ff77a4a7f9e 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c @@ -397,7 +397,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, iph = ip_hdr(skb); /* - * 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? *