aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 58db2a2f115a..a1eb5969712c 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -566,9 +566,10 @@ static const struct proto_ops unix_seqpacket_ops = {
566}; 566};
567 567
568static struct proto unix_proto = { 568static struct proto unix_proto = {
569 .name = "UNIX", 569 .name = "UNIX",
570 .owner = THIS_MODULE, 570 .owner = THIS_MODULE,
571 .obj_size = sizeof(struct unix_sock), 571 .sockets_allocated = &unix_nr_socks,
572 .obj_size = sizeof(struct unix_sock),
572}; 573};
573 574
574/* 575/*