* [NETFILTER]: Missing owner-field initialization in iptable_raw
@ 2005-05-02 20:24 Patrick McHardy
2005-05-03 21:22 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2005-05-02 20:24 UTC (permalink / raw)
To: David S. Miller; +Cc: Netfilter Development Mailinglist
[-- 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,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-03 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 20:24 [NETFILTER]: Missing owner-field initialization in iptable_raw Patrick McHardy
2005-05-03 21:22 ` David S. Miller
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.