diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2006-10-16 21:56:04 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-18 19:55:19 -0700 |
commit | 08c31f7167b1bdc30cd0960b45d6f3076eb1f179 (patch) | |
tree | 17ff32dda430849a8be061e56d9b5f5a4305f9bc /net | |
parent | 3a8d12142eab420ffcbbf3d1d2e637158e85aab8 (diff) | |
download | blackbird-op-linux-08c31f7167b1bdc30cd0960b45d6f3076eb1f179.tar.gz blackbird-op-linux-08c31f7167b1bdc30cd0960b45d6f3076eb1f179.zip |
[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: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/tipc/name_distr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c index f0b063bcc2a9..03bd659c43ca 100644 --- a/net/tipc/name_distr.c +++ b/net/tipc/name_distr.c @@ -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); |