aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/link_udp.c2
-rw-r--r--src/msc_conn.c2
-rw-r--r--src/mtp_layer3.c2
-rw-r--r--src/sctp_m2ua.c2
-rw-r--r--src/ss7_application.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/link_udp.c b/src/link_udp.c
index 8bde031..bea67de 100644
--- a/src/link_udp.c
+++ b/src/link_udp.c
@@ -252,7 +252,7 @@ int link_udp_init(struct mtp_udp_link *link, char *remote, int port)
inet_aton(remote, &link->remote.sin_addr);
/* add it to the list of udp connections */
- llist_add(&link->entry, &link->data->links);
+ llist_add_tail(&link->entry, &link->data->links);
return 0;
}
diff --git a/src/msc_conn.c b/src/msc_conn.c
index e5023c6..f1e657a 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -560,7 +560,7 @@ struct msc_connection *msc_connection_create(struct bsc_data *bsc, int mgcp)
return NULL;
}
- llist_add(&msc->entry, &bsc->mscs);
+ llist_add_tail(&msc->entry, &bsc->mscs);
msc->nr = bsc->num_mscs++;
return msc;
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c
index 24289cd..08ea323 100644
--- a/src/mtp_layer3.c
+++ b/src/mtp_layer3.c
@@ -609,7 +609,7 @@ struct mtp_link_set *mtp_link_set_alloc(struct bsc_data *bsc)
INIT_LLIST_HEAD(&link->links);
link->nr = bsc->num_linksets++;
- llist_add(&link->entry, &bsc->linksets);
+ llist_add_tail(&link->entry, &bsc->linksets);
return link;
}
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c
index 3bed8ee..977acad 100644
--- a/src/sctp_m2ua.c
+++ b/src/sctp_m2ua.c
@@ -793,7 +793,7 @@ struct mtp_m2ua_link *mtp_m2ua_link_create(struct sctp_m2ua_transport *trans,
blnk->type = SS7_LTYPE_M2UA;
/* remember we have a link here */
- llist_add(&lnk->entry, &trans->links);
+ llist_add_tail(&lnk->entry, &trans->links);
lnk->base->shutdown = sctp_m2ua_reset;
lnk->base->clear_queue = sctp_m2ua_dummy;
diff --git a/src/ss7_application.c b/src/ss7_application.c
index 906e7aa..b3c9036 100644
--- a/src/ss7_application.c
+++ b/src/ss7_application.c
@@ -126,7 +126,7 @@ struct ss7_application *ss7_application_alloc(struct bsc_data *bsc)
}
INIT_LLIST_HEAD(&app->sccp_connections);
- llist_add(&app->entry, &bsc->apps);
+ llist_add_tail(&app->entry, &bsc->apps);
app->nr = bsc->num_apps++;
app->bsc = bsc;