diff options
Diffstat (limited to 'net/tipc/net.c')
| -rw-r--r-- | net/tipc/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index 9bacfd00b91e..dd78d869829f 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * net/tipc/net.c: TIPC network routing code | 2 | * net/tipc/net.c: TIPC network routing code |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 1995-2006, Ericsson AB | 4 | * Copyright (c) 1995-2006, Ericsson AB |
| 5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005, 2010-2011, Wind River Systems |
| 6 | * All rights reserved. | 6 | * All rights reserved. |
| 7 | * | 7 | * |
| 8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
| @@ -115,6 +115,7 @@ static int net_start(void) | |||
| 115 | tipc_net.nodes = kcalloc(tipc_max_nodes + 1, | 115 | tipc_net.nodes = kcalloc(tipc_max_nodes + 1, |
| 116 | sizeof(*tipc_net.nodes), GFP_ATOMIC); | 116 | sizeof(*tipc_net.nodes), GFP_ATOMIC); |
| 117 | tipc_net.highest_node = 0; | 117 | tipc_net.highest_node = 0; |
| 118 | atomic_set(&tipc_net.links, 0); | ||
| 118 | 119 | ||
| 119 | return tipc_net.nodes ? 0 : -ENOMEM; | 120 | return tipc_net.nodes ? 0 : -ENOMEM; |
| 120 | } | 121 | } |
