]> git.baikalelectronics.ru Git - kernel.git/commit
sunvnet: vnet_ack() should check if !start_cons to send a missed trigger
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Sun, 9 Nov 2014 01:42:10 +0000 (20:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2014 02:05:36 +0000 (21:05 -0500)
commitb3932af7e00b457c384aa2f6a846861af4804ce0
tree83e0e6b6c35655a5d90d7b6154b2aa03ed822eca
parentdc0f8ab17c9ce2a104cc1efe404c3d6e7bc6d34e
sunvnet: vnet_ack() should check if !start_cons to send a missed trigger

As per comments in vnet_start_xmit, for the edge case
when outgoing vnet_start_xmit() data and an incoming STOPPED
ACK cross each other in flight, we may need to send the missed
START trigger from maybe_tx_wakeup() after checking for a
false value of start_cons

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c