]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Update VIF interface to version 5 8.1.0-rc11
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 4 Jan 2016 13:09:14 +0000 (13:09 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 4 Jan 2016 13:49:07 +0000 (13:49 +0000)
commit7c9c757493ffd2bf857db14494cc12d3fe9ea5da
tree15d1c65c8c6bc95157439c5fc3b9c4ae6fbbf3b1
parentc963dbe2a6379437013e32e86548b6692f33d029
Update VIF interface to version 5

Unfortunately VIF interface version 4 suffers from a shutdown race with
the TransmitterQueuePacket method. If a call to this races with the Disable
method then a NULL callback function pointer can be invoked.
This patch fixes the race by having TransmitterQueuePacket return a status
code to indicate whether a packet has been queued (rather than invoking the
completion callback if it has not), but this necessitates a interface change
so the VIF interface version is also updated to 5 and a new PDO revision is
added.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
include/revision.h
include/vif_interface.h
src/xenvif/vif.c