diff options
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r-- | net/tipc/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index 5b38f5164281..27cccd101ef6 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include "net.h" | 43 | #include "net.h" |
44 | #include "socket.h" | 44 | #include "socket.h" |
45 | #include "bcast.h" | 45 | #include "bcast.h" |
46 | #include "node.h" | ||
46 | 47 | ||
47 | #include <linux/module.h> | 48 | #include <linux/module.h> |
48 | 49 | ||
@@ -59,6 +60,7 @@ static int __net_init tipc_init_net(struct net *net) | |||
59 | tn->node_addr = 0; | 60 | tn->node_addr = 0; |
60 | tn->trial_addr = 0; | 61 | tn->trial_addr = 0; |
61 | tn->addr_trial_end = 0; | 62 | tn->addr_trial_end = 0; |
63 | tn->capabilities = TIPC_NODE_CAPABILITIES; | ||
62 | memset(tn->node_id, 0, sizeof(tn->node_id)); | 64 | memset(tn->node_id, 0, sizeof(tn->node_id)); |
63 | memset(tn->node_id_string, 0, sizeof(tn->node_id_string)); | 65 | memset(tn->node_id_string, 0, sizeof(tn->node_id_string)); |
64 | tn->mon_threshold = TIPC_DEF_MON_THRESHOLD; | 66 | tn->mon_threshold = TIPC_DEF_MON_THRESHOLD; |