Skip to contentSkip to conversation

: Missing owner-field initialization in ip6table_raw

PATCH In review Patrick McHardy 1 participant 1 message Jun 20, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/7 : Missing owner-field initialization in ip6table_raw

[NETFILTER]: Missing owner-field initialization in ip6table_raw

I missed this one when fixing up iptable_raw.

---
commit 2976a51fd8ab66770b1b3083ffaa41bd05d70e1e
tree 1aff9696e4fe8368fc9bf5ac4bcb8c89982e91ad
parent 9b4be665b104791bd5605849391ed7123e14edd8
author Patrick McHardy <[email protected]> Mon, 20 Jun 2005 18:50:47 committer Patrick McHardy <[email protected]> Mon, 20 Jun 2005 18:50:47

 net/ipv6/netfilter/ip6table_raw.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
net/ipv6/netfilter/ip6table_raw.c +4 -2
@@ -129,13 +129,15 @@ static struct nf_hook_ops ip6t_ops[] = {
 	  .hook = ip6t_hook, 
 	  .pf = PF_INET6,
 	  .hooknum = NF_IP6_PRE_ROUTING,
-	  .priority = NF_IP6_PRI_FIRST
+	  .priority = NF_IP6_PRI_FIRST,
+	  .owner = THIS_MODULE,
 	},
 	{
 	  .hook = ip6t_hook, 
 	  .pf = PF_INET6, 
 	  .hooknum = NF_IP6_LOCAL_OUT,
-	  .priority = NF_IP6_PRI_FIRST
+	  .priority = NF_IP6_PRI_FIRST,
+	  .owner = THIS_MODULE,
 	},
 };