From: Marcus Sundberg <marcus@ingate.com>
To: pablo@netfilter.org
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [PATCH] Kill 480 kB redundant data in conntrack application
Date: Tue, 22 Nov 2005 16:59:18 +0100 [thread overview]
Message-ID: <43834056.7050405@ingate.com> (raw)
Hi,
the NUMBER_OF_OPT #define in the conntrack application is "a bit"
oversized. :-)
Fix bogus NUMBER_OF_OPT definition.
Index: conntrack/include/conntrack.h
===================================================================
--- conntrack/include/conntrack.h (revision 4547)
+++ conntrack/include/conntrack.h (working copy)
@@ -115,9 +115,9 @@
CT_OPT_ID_BIT = 15,
CT_OPT_ID = (1 << CT_OPT_ID_BIT),
- CT_OPT_MAX = CT_OPT_ID
+ CT_OPT_MAX_BIT = CT_OPT_ID_BIT
};
-#define NUMBER_OF_OPT CT_OPT_MAX
+#define NUMBER_OF_OPT (CT_OPT_MAX_BIT+1)
struct ctproto_handler {
struct list_head head;
Signed-off-by: Marcus Sundberg <marcus@ingate.com>
--
---------------------------------------+--------------------------
Marcus Sundberg <marcus@ingate.com> | Firewalls with SIP & NAT
Software Developer, Ingate Systems AB | http://www.ingate.com/
next reply other threads:[~2005-11-22 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 15:59 Marcus Sundberg [this message]
2005-11-22 17:29 ` [PATCH] Kill 480 kB redundant data in conntrack application Pablo Neira
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=43834056.7050405@ingate.com \
--to=marcus@ingate.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@netfilter.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.