[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1423143404-23322-1-git-send-email-jon.maloy@ericsson.com>
Date: Thu, 5 Feb 2015 08:36:35 -0500
From: Jon Maloy <jon.maloy@...csson.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
Paul Gortmaker <paul.gortmaker@...driver.com>,
erik.hugne@...csson.com, ying.xue@...driver.com, maloy@...jonn.com,
tipc-discussion@...ts.sourceforge.net,
Jon Maloy <jon.maloy@...csson.com>
Subject: [PATCH net-next 0/9] tipc: resolve message disordering problem
When TIPC receives messages from multi-threaded device drivers it may
occasionally deliver messages to their destination sockets in the wrong
order. This happens despite correct resequencing at the link layer,
because the upcall path from link to socket is not protected by any
locks.
These commits solve this problem by introducing an 'input' message
queue in each link, through which messages must be delivered to the
upper layers.
Jon Maloy (9):
tipc: reduce usage of context info in socket and link
tipc: simplify message forwarding and rejection in socket layer
tipc: enqueue arrived buffers in socket in separate function
tipc: split up function tipc_msg_eval()
tipc: use existing sk_write_queue for outgoing packet chain
tipc: resolve race problem at unicast message reception
tipc: simplify connection abort notifications when links break
tipc: simplify socket multicast reception
tipc: eliminate race condition at multicast reception
net/tipc/bcast.c | 121 ++++++----------
net/tipc/bcast.h | 29 ++--
net/tipc/discover.c | 3 +-
net/tipc/link.c | 301 +++++++++++++++++----------------------
net/tipc/link.h | 14 +-
net/tipc/msg.c | 109 ++++++++------
net/tipc/msg.h | 107 ++++++++++++--
net/tipc/name_distr.c | 38 +++--
net/tipc/name_distr.h | 2 +-
net/tipc/name_table.c | 44 +++++-
net/tipc/name_table.h | 20 ++-
net/tipc/node.c | 103 +++++++-------
net/tipc/node.h | 22 ++-
net/tipc/socket.c | 382 +++++++++++++++++++++++++++++---------------------
net/tipc/socket.h | 8 +-
15 files changed, 740 insertions(+), 563 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists