summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2006-10-16 21:56:04 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-18 19:55:19 -0700
commit08c31f7167b1bdc30cd0960b45d6f3076eb1f179 (patch)
tree17ff32dda430849a8be061e56d9b5f5a4305f9bc /net
parent3a8d12142eab420ffcbbf3d1d2e637158e85aab8 (diff)
downloadop-kernel-dev-08c31f7167b1bdc30cd0960b45d6f3076eb1f179.zip
op-kernel-dev-08c31f7167b1bdc30cd0960b45d6f3076eb1f179.tar.gz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c
index f0b063b..03bd659 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);
OpenPOWER on IntegriCloud