sunvnet: edge-case/race-conditions bug fixes
Subsystems (2)
cover 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(-)
Signature · 1 line
1.8.4.2
David Miller
maintainerFrom: Sowmini Varadhan <[email protected]>
Date: Sat, 8 Nov 2014 20:41:43 -0500
Quoted 4 lines
This patch series contains fixes for race-conditions in sunvnet, that can encountered when there is a difference in latency between producer and consumer.
Quoted 8 lines
Patch 1 addresses a case when the STOPPED LDC ack from a peer is processed before
vnet_start_xmitcan finish updating thedr->prodstate.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.
Series applied, thanks.