[NETFILTER]: Missing owner-field initialization in ip6table_raw
authorPatrick McHardy <kaber@trash.net>
Tue, 21 Jun 2005 21:03:01 +0000 (14:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2005 21:03:01 +0000 (14:03 -0700)
I missed this one when fixing up iptable_raw.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6table_raw.c

index 71407beaf790bf889008be08ed3c61591b12aca9..c2982efd14afd0fb47d7363c71f06a4d1374e848 100644 (file)
@@ -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,
        },
 };