Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08c31f71 authored by Allan Stephens's avatar Allan Stephens Committed by David S. Miller
Browse files

[TIPC]: Name publication events now delivered in chronological order



This patch tivially re-orders the entries in TIPC's list of local
publications so that applications will receive publication events
in the order they were published.

Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
Signed-off-by: default avatarPer Liden <per.liden@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a8d1214
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -122,7 +122,7 @@ void tipc_named_publish(struct publication *publ)
	struct sk_buff *buf;
	struct sk_buff *buf;
	struct distr_item *item;
	struct distr_item *item;


	list_add(&publ->local_list, &publ_root);
	list_add_tail(&publ->local_list, &publ_root);
	publ_cnt++;
	publ_cnt++;


	buf = named_prepare_buf(PUBLICATION, ITEM_SIZE, 0);
	buf = named_prepare_buf(PUBLICATION, ITEM_SIZE, 0);