[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141109014143.GB31217@oracle.com>
Date: Sat, 8 Nov 2014 20:41:43 -0500
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: davem@...emloft.net, sowmini.varadhan@...cle.com
Cc: netdev@...r.kernel.org, david.stevens@...cle.com
Subject: [PATCH 0/3 net-next] sunvnet: edge-case/race-conditions bug fixes
This patch series contains fixes for race-conditions in sunvnet,
that can encountered when there is a difference in latency between
producer and consumer.
Patch 1 addresses a case when the STOPPED LDC ack from a peer is
processed before vnet_start_xmit can finish updating the dr->prod
state.
Patch 2 fixes the edge-case when outgoing data and incoming
stopped-ack cross each other in flight.
Patch 3 adds a missing rcu_read_unlock(), found by code-inspection.
Sowmini Varadhan (3):
Fix race between vnet_start_xmit() and vnet_ack()
vnet_ack() should check if !start_cons to send a missed trigger
Add missing rcu_read_unlock() in vnet_start_xmit
drivers/net/ethernet/sun/sunvnet.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
--
1.8.4.2
--
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