diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2011-01-25 13:33:31 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-02-23 18:05:21 -0500 |
commit | 741de3e9ff6e07e908e1cad2eb03e29677fde093 (patch) | |
tree | ad9f1e65f6fe27d0d3662d56e819df995c8c8b63 /net/tipc/msg.c | |
parent | 214dda4a36329fdd631e3aac0fee6e6fa369db62 (diff) |
tipc: Remove support for per-connection message sequence numbering
Eliminates TIPC's prototype support for message sequence numbering
on routable connections (i.e. connections requiring more than one hop).
This capability isn't currently used, and can be removed since TIPC
only supports systems in which all inter-node communication can be
achieved in a single hop.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/msg.c')
-rw-r--r-- | net/tipc/msg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/tipc/msg.c b/net/tipc/msg.c index bb6180c4fcbb..e56b9b87547d 100644 --- a/net/tipc/msg.c +++ b/net/tipc/msg.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * net/tipc/msg.c: TIPC message header routines | 2 | * net/tipc/msg.c: TIPC message header routines |
3 | * | 3 | * |
4 | * Copyright (c) 2000-2006, Ericsson AB | 4 | * Copyright (c) 2000-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005, 2010-2011, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -381,14 +381,10 @@ void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str) | |||
381 | tipc_printf(buf, ":OPRT(%u):", msg_origport(msg)); | 381 | tipc_printf(buf, ":OPRT(%u):", msg_origport(msg)); |
382 | tipc_printf(buf, ":DPRT(%u):", msg_destport(msg)); | 382 | tipc_printf(buf, ":DPRT(%u):", msg_destport(msg)); |
383 | } | 383 | } |
384 | if (msg_routed(msg) && !msg_non_seq(msg)) | ||
385 | tipc_printf(buf, ":TSEQN(%u)", msg_transp_seqno(msg)); | ||
386 | } | 384 | } |
387 | if (msg_user(msg) == NAME_DISTRIBUTOR) { | 385 | if (msg_user(msg) == NAME_DISTRIBUTOR) { |
388 | tipc_printf(buf, ":ONOD(%x):", msg_orignode(msg)); | 386 | tipc_printf(buf, ":ONOD(%x):", msg_orignode(msg)); |
389 | tipc_printf(buf, ":DNOD(%x):", msg_destnode(msg)); | 387 | tipc_printf(buf, ":DNOD(%x):", msg_destnode(msg)); |
390 | if (msg_routed(msg)) | ||
391 | tipc_printf(buf, ":CSEQN(%u)", msg_transp_seqno(msg)); | ||
392 | } | 388 | } |
393 | 389 | ||
394 | if (msg_user(msg) == LINK_CONFIG) { | 390 | if (msg_user(msg) == LINK_CONFIG) { |