All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naohiro Ooiwa <nooiwa@miraclelinux.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] Fix define value of SCTP chunk type.
Date: Fri, 29 Feb 2008 19:02:15 +0900	[thread overview]
Message-ID: <47C7D827.6030603@miraclelinux.com> (raw)

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

Hi,

This is a trivial fix.
There are wrong chunk_type values in sctp table.
The chunk_type of ASCONF and ASCNF_ACK must be 193 and 128, respectively.

Please check it.

Regards,
Naohiro


[-- Attachment #2: fix_define_value_of_sctp_chunk_type.patch --]
[-- Type: text/x-patch, Size: 781 bytes --]

--- iptables--20080227/extensions/libxt_sctp.c.orig	2008-01-29 22:48:05.000000000 +0900
+++ iptables--20080227/extensions/libxt_sctp.c	2008-02-29 14:43:39.000000000 +0900
@@ -125,8 +125,8 @@ static const struct sctp_chunk_names sct
     { .name = "ECN_ECNE",	.chunk_type = 12,  .valid_flags = "--------"},
     { .name = "ECN_CWR",	.chunk_type = 13,  .valid_flags = "--------"},
     { .name = "SHUTDOWN_COMPLETE", .chunk_type = 14,  .valid_flags = "-------T"},
-    { .name = "ASCONF",		.chunk_type = 31,  .valid_flags = "--------"},
-    { .name = "ASCONF_ACK",	.chunk_type = 30,  .valid_flags = "--------"},
+    { .name = "ASCONF",		.chunk_type = 193,  .valid_flags = "--------"},
+    { .name = "ASCONF_ACK",	.chunk_type = 128,  .valid_flags = "--------"},
 };
 
 static void

             reply	other threads:[~2008-02-29 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 10:02 Naohiro Ooiwa [this message]
2008-02-29 12:41 ` [PATCH] Fix define value of SCTP chunk type Patrick McHardy

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=47C7D827.6030603@miraclelinux.com \
    --to=nooiwa@miraclelinux.com \
    --cc=netfilter-devel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.