netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 net-next] sunvnet: edge-case/race-conditions bug fixes
@ 2014-11-09  1:41 Sowmini Varadhan
  2014-11-11  2:06 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Sowmini Varadhan @ 2014-11-09  1:41 UTC (permalink / raw)
  To: davem, sowmini.varadhan; +Cc: netdev, david.stevens


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/3 net-next] sunvnet: edge-case/race-conditions bug fixes
  2014-11-09  1:41 [PATCH 0/3 net-next] sunvnet: edge-case/race-conditions bug fixes Sowmini Varadhan
@ 2014-11-11  2:06 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-11-11  2:06 UTC (permalink / raw)
  To: sowmini.varadhan; +Cc: netdev, david.stevens

From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Date: Sat, 8 Nov 2014 20:41:43 -0500

> 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.

Series applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-11  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09  1:41 [PATCH 0/3 net-next] sunvnet: edge-case/race-conditions bug fixes Sowmini Varadhan
2014-11-11  2:06 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).