From: Friedrich Lobenstock <fl@fl.priv.at>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Cc: Tommi Virtanen <tv@debian.org>
Subject: [PATCH] let submitted/61_nulldev_alignment match official kernel 2.4.25 in pom-20040409
Date: Sun, 11 Apr 2004 14:01:01 +0200 [thread overview]
Message-ID: <4079337D.4010207@fl.priv.at> (raw)
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
Hi!
Tommi I have you CC'd as you are the author of this patch.
Here is a patch for the submitted/61_nulldev_alignment patch in
pom-20040409 (not pom-ng!) that matches the latest official changes
in kernel 2.4.25.
--
MfG / Regards
Friedrich Lobenstock
[-- Attachment #2: patch-submitted-61_nulldev_alignment-patch --]
[-- Type: text/plain, Size: 1175 bytes --]
--- patch-o-matic-20040409/submitted/61_nulldev_alignment.patch.pre-2.4.25 2004-04-11 14:45:23.000000000 +0200
+++ patch-o-matic-20040409/submitted/61_nulldev_alignment.patch 2004-04-11 14:45:38.000000000 +0200
@@ -1,16 +1,11 @@
---- linux-2.4.orig/net/ipv4/netfilter/ip_tables.c 2003-12-26 19:24:46.000000000
-+0200
-+++ linux-2.4/net/ipv4/netfilter/ip_tables.c 2003-12-26 18:58:30.000000000 +0200
-@@ -260,7 +278,11 @@ ipt_do_table(struct sk_buff **pskb,
+--- linux-2.4.24/net/ipv4/netfilter/ip_tables.c 2003-08-25 04:44:44.000000000 -0700
++++ linux-2.4.25/net/ipv4/netfilter/ip_tables.c 2004-02-18 05:36:32.000000000 -0800
+@@ -259,7 +259,7 @@
struct ipt_table *table,
void *userdata)
{
- static const char nulldevname[IFNAMSIZ] = { 0 };
-+ /* Pointer to nulldevname may be dereferenced as unsigned
-+ long* in ip_packet_match. We need to guarantee
-+ sufficient alignment here. */
-+ static const char nulldevname[IFNAMSIZ]
-+ __attribute__((__aligned__(__alignof__ (unsigned long)))) = {0};
++ static const char nulldevname[IFNAMSIZ] __attribute__((aligned(sizeof(long)))) = { 0 };
u_int16_t offset;
struct iphdr *ip;
void *protohdr;
reply other threads:[~2004-04-11 12:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4079337D.4010207@fl.priv.at \
--to=fl@fl.priv.at \
--cc=netfilter-devel@lists.netfilter.org \
--cc=tv@debian.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.