sock_diag: add module pointer to "struct sock_diag_handler"
[linux-2.6-microblaze.git] / net / unix / diag.c
index bec09a3..c3648b7 100644 (file)
@@ -322,6 +322,7 @@ static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
 }
 
 static const struct sock_diag_handler unix_diag_handler = {
+       .owner = THIS_MODULE,
        .family = AF_UNIX,
        .dump = unix_diag_handler_dump,
 };