[NETFILTER]: Missing owner-field initialization in iptable_raw
authorPatrick McHardy <kaber@trash.net>
Tue, 3 May 2005 21:23:13 +0000 (14:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 21:23:13 +0000 (14:23 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/iptable_raw.c

index 01b4a3c814d398f21d29dec0f7d7bf1453b1ce7e..47449ba83eb9410280a8463b477501d839ff32bb 100644 (file)
@@ -103,13 +103,15 @@ static struct nf_hook_ops ipt_ops[] = {
          .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,
        },
 };