diff options
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r-- | net/tipc/bcast.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index ecfaac10d0b4..22a60fc98392 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -121,6 +121,9 @@ static DEFINE_SPINLOCK(bc_lock); | |||
121 | 121 | ||
122 | const char tipc_bclink_name[] = "broadcast-link"; | 122 | const char tipc_bclink_name[] = "broadcast-link"; |
123 | 123 | ||
124 | static void tipc_nmap_diff(struct tipc_node_map *nm_a, | ||
125 | struct tipc_node_map *nm_b, | ||
126 | struct tipc_node_map *nm_diff); | ||
124 | 127 | ||
125 | static u32 buf_seqno(struct sk_buff *buf) | 128 | static u32 buf_seqno(struct sk_buff *buf) |
126 | { | 129 | { |
@@ -287,7 +290,7 @@ static void bclink_send_nack(struct tipc_node *n_ptr) | |||
287 | if (!less(n_ptr->bclink.gap_after, n_ptr->bclink.gap_to)) | 290 | if (!less(n_ptr->bclink.gap_after, n_ptr->bclink.gap_to)) |
288 | return; | 291 | return; |
289 | 292 | ||
290 | buf = buf_acquire(INT_H_SIZE); | 293 | buf = tipc_buf_acquire(INT_H_SIZE); |
291 | if (buf) { | 294 | if (buf) { |
292 | msg = buf_msg(buf); | 295 | msg = buf_msg(buf); |
293 | tipc_msg_init(msg, BCAST_PROTOCOL, STATE_MSG, | 296 | tipc_msg_init(msg, BCAST_PROTOCOL, STATE_MSG, |
@@ -871,8 +874,9 @@ void tipc_nmap_remove(struct tipc_node_map *nm_ptr, u32 node) | |||
871 | * @nm_diff: output node map A-B (i.e. nodes of A that are not in B) | 874 | * @nm_diff: output node map A-B (i.e. nodes of A that are not in B) |
872 | */ | 875 | */ |
873 | 876 | ||
874 | void tipc_nmap_diff(struct tipc_node_map *nm_a, struct tipc_node_map *nm_b, | 877 | static void tipc_nmap_diff(struct tipc_node_map *nm_a, |
875 | struct tipc_node_map *nm_diff) | 878 | struct tipc_node_map *nm_b, |
879 | struct tipc_node_map *nm_diff) | ||
876 | { | 880 | { |
877 | int stop = ARRAY_SIZE(nm_a->map); | 881 | int stop = ARRAY_SIZE(nm_a->map); |
878 | int w; | 882 | int w; |