Skip to content

Commit

Permalink
[TIPC]: Name publication events now delivered in chronological order
Browse files Browse the repository at this point in the history
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: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Allan Stephens authored and David S. Miller committed Oct 19, 2006
1 parent 3a8d121 commit 08c31f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/tipc/name_distr.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void tipc_named_publish(struct publication *publ)
struct sk_buff *buf;
struct distr_item *item;

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

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

0 comments on commit 08c31f7

Please sign in to comment.