From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@davemloft.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [NETFILTER]: Missing owner-field initialization in iptable_raw
Date: Mon, 02 May 2005 22:24:03 +0200 [thread overview]
Message-ID: <42768C63.2060104@trash.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 84 bytes --]
table->owner must be initialized so module references can be taken
by nf_queue().
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 1136 bytes --]
[NETFILTER]: Missing owner-field initialization in iptable_raw
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit 480fc9b2802f2093e728567010506732e382b688
tree 97b316503a4524074c05d5fb4cab63264690d0d6
parent c4644e58c8b52dca9699e8ee0e975f5f13eb4d2c
author Patrick McHardy <kaber@trash.net> 1115054535 +0200
committer Patrick McHardy <kaber@trash.net> 1115054535 +0200
Index: net/ipv4/netfilter/iptable_raw.c
===================================================================
--- 35d8915a3fd6fa39a46d9b2e8e1fd272e82ea3af/net/ipv4/netfilter/iptable_raw.c (mode:100644 sha1:01b4a3c814d398f21d29dec0f7d7bf1453b1ce7e)
+++ 97b316503a4524074c05d5fb4cab63264690d0d6/net/ipv4/netfilter/iptable_raw.c (mode:100644 sha1:47449ba83eb9410280a8463b477501d839ff32bb)
@@ -103,13 +103,15 @@
.hook = ipt_hook,
.pf = PF_INET,
.hooknum = NF_IP_PRE_ROUTING,
- .priority = NF_IP_PRI_RAW
+ .priority = NF_IP_PRI_RAW,
+ .owner = THIS_MODULE,
},
{
.hook = ipt_hook,
.pf = PF_INET,
.hooknum = NF_IP_LOCAL_OUT,
- .priority = NF_IP_PRI_RAW
+ .priority = NF_IP_PRI_RAW,
+ .owner = THIS_MODULE,
},
};
next reply other threads:[~2005-05-02 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-02 20:24 Patrick McHardy [this message]
2005-05-03 21:22 ` [NETFILTER]: Missing owner-field initialization in iptable_raw David S. Miller
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=42768C63.2060104@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=netfilter-devel@lists.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.