aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-04-07 10:22:31 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-01 11:16:35 -0400
commit2e2d9be8454e295374dfbddd7ceaba2e4fc01c76 (patch)
treea7d55a0ef8111e716c4571aedba39fb1337c5ac1 /net/tipc/bcast.c
parent641c218d120b03bdea4f658ab44930587cff9158 (diff)
tipc: Update obsolete references to multicast link
Updates TIPC's broadcast link in a couple of places that were missed during the transition from its former name ("multicast-link") to its current name ("broadcast-link"). These changes are essentially cosmetic and do not affect the overall operation of TIPC. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r--net/tipc/bcast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 759b318b5ffb..411c54b152f0 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -764,7 +764,7 @@ int tipc_bclink_init(void)
764 bcbearer = kzalloc(sizeof(*bcbearer), GFP_ATOMIC); 764 bcbearer = kzalloc(sizeof(*bcbearer), GFP_ATOMIC);
765 bclink = kzalloc(sizeof(*bclink), GFP_ATOMIC); 765 bclink = kzalloc(sizeof(*bclink), GFP_ATOMIC);
766 if (!bcbearer || !bclink) { 766 if (!bcbearer || !bclink) {
767 warn("Multicast link creation failed, no memory\n"); 767 warn("Broadcast link creation failed, no memory\n");
768 kfree(bcbearer); 768 kfree(bcbearer);
769 bcbearer = NULL; 769 bcbearer = NULL;
770 kfree(bclink); 770 kfree(bclink);
@@ -775,7 +775,7 @@ int tipc_bclink_init(void)
775 INIT_LIST_HEAD(&bcbearer->bearer.cong_links); 775 INIT_LIST_HEAD(&bcbearer->bearer.cong_links);
776 bcbearer->bearer.media = &bcbearer->media; 776 bcbearer->bearer.media = &bcbearer->media;
777 bcbearer->media.send_msg = tipc_bcbearer_send; 777 bcbearer->media.send_msg = tipc_bcbearer_send;
778 sprintf(bcbearer->media.name, "tipc-multicast"); 778 sprintf(bcbearer->media.name, "tipc-broadcast");
779 779
780 bcl = &bclink->link; 780 bcl = &bclink->link;
781 INIT_LIST_HEAD(&bcl->waiting_ports); 781 INIT_LIST_HEAD(&bcl->waiting_ports);