From patchwork Mon Jan 3 16:03:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: FX Le Bail X-Patchwork-Id: 77290 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4F0D8B7103 for ; Tue, 4 Jan 2011 03:03:44 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932241Ab1ACQDj (ORCPT ); Mon, 3 Jan 2011 11:03:39 -0500 Received: from web62505.mail.re1.yahoo.com ([69.147.75.97]:44352 "HELO web62505.mail.re1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932069Ab1ACQDi (ORCPT ); Mon, 3 Jan 2011 11:03:38 -0500 Received: (qmail 98621 invoked by uid 60001); 3 Jan 2011 16:03:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294070616; bh=UUG0E7olT4J6aW2v9X2Zd54L92Zmew3MNGwu+W5QG74=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=gs3v9F5OOE3yLPjcf+H6nEn2YVR/lX9Y9kmyWkYMvO2IDSeiSB4W2Q1ZSOGOPumzIl8eSY5aE7DssGe+2RuHNGUkpjM2uT9a8t0jPDLfHD1IXjniSFIs3GYHYIB27ypUhbpJklTvvkSA9Np/tsW2ApZXPCAGptNKbkRwn+Fm/tg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=au7d7onKtICSbxhJVrwK0xvX1F/Y6xvmIhjDA4u8QmCiAhczXQow2crivKKgYEwLV2lrNHSV8tXpeC9w0zbWgAU6+HXE1BCPQoXbKiyb57LXmWZ70w5wL5wFM/fOj9cuu65N/H5IRETQToM+InoV2an6QyuPMl8LE+RaektLcaE=; Message-ID: <542376.97776.qm@web62505.mail.re1.yahoo.com> X-YMail-OSG: RnX50WcVM1lLdcYdwkfyYTSBAe4M28G3jputqIFwHp7f6wE ZGJuGkJzCmfIBrk9tNk1zuWaaqsgHQKOpazgaBIe.jiLWqZvlk_AOIQEc3kx VPHMcdhzlFaqGi09ULsrDfqr8DcJ_IqMNiYD3Ny3544tunQake_yl7gF7ocT 4b.iquNUsy5NrUcj4tgznaPcGl2UXb10d33f6R9copX9Ol.8oXKuXu1diGvf 1Yd0ob9uG8gL_sjCZ.CDC7P92WFHyZ0qQ5AtXXciazknMDFaW7lFGkSYPQzi pVyxVbBMFIrAHRlZgnryRL8QwAX4bQpS4cqvmvftHftOH4nBPEHvlYZqymNp .i7w0UFKGyyI0GyiAjTfaDY2lMTH9Dh6cU5ec2lbFUW.ZIw-- Received: from [193.49.124.107] by web62505.mail.re1.yahoo.com via HTTP; Mon, 03 Jan 2011 08:03:36 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Mon, 3 Jan 2011 08:03:36 -0800 (PST) From: =?iso-8859-1?Q?Fran=E7ois-Xavier_Le_Bail?= Subject: [PATCH, second try] Typo in comments in include/linux/igmp.h To: netdev@vger.kernel.org MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org [Second try, patch invalid, sorry] Hello, There is a typo in comments in include/linux/igmp.h: 83 #define IGMP_HOST_MEMBERSHIP_QUERY      0x11    /* From RFC1112 */ 84 #define IGMP_HOST_MEMBERSHIP_REPORT     0x12    /* Ditto */ 85 #define IGMP_DVMRP                      0x13    /* DVMRP routing */ 86 #define IGMP_PIM                        0x14    /* PIM routing */ 87 #define IGMP_TRACE                      0x15 88 #define IGMPV2_HOST_MEMBERSHIP_REPORT   0x16    /* V2 version of 0x11 */ 89 #define IGMP_HOST_LEAVE_MESSAGE         0x17 90 #define IGMPV3_HOST_MEMBERSHIP_REPORT   0x22    /* V3 version of 0x11 */ The line 88 and 90 are about REPORT messages. The IGMP_HOST_MEMBERSHIP_REPORT value is 0x12. So the comment on line 88 must be /* V2 version of 0x12 */, and the comment on line 90 must be /* V3 version of 0x12 */. Here is a patch. Thank you, Francois-Xavier Le Bail diff -ru a/include/linux/igmp.h b/include/linux/igmp.h --- a/include/linux/igmp.h 2010-08-27 01:47:12.000000000 +0200 +++ b/include/linux/igmp.h 2010-12-15 09:50:47.808363144 +0100 @@ -85,9 +85,9 @@ #define IGMP_DVMRP 0x13 /* DVMRP routing */ #define IGMP_PIM 0x14 /* PIM routing */ #define IGMP_TRACE 0x15 -#define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x11 */ +#define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x12 */ #define IGMP_HOST_LEAVE_MESSAGE 0x17 -#define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x11 */ +#define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x12 */ #define IGMP_MTRACE_RESP 0x1e #define IGMP_MTRACE 0x1f