]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Fix WHQL InvalidPackets test 8.1.0-rc12
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 19 Jan 2016 16:31:44 +0000 (16:31 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 21 Jan 2016 09:24:32 +0000 (09:24 +0000)
commit4dd20b6b72f3649bfa04f8c9981b7170306b4bef
tree93df34f48d3b50b7167052ea18c98297b4302c63
parentde0ae2d6626a68ea55907b7c74e92e9e6abb3ce8
Fix WHQL InvalidPackets test

Because the transmit code now parses packets before queueing (for the
purposes of maybe needing to hash) the operation can fail of the headers
are invalid. The WHQL test does not expect this to happen.

This patch ignores the parse failure but instead fails the packet when it
is de-queued but only if absolutely no header (i.e. even the ethernet
header) could be parsed. This seems to be enough to keep the test happy.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/receiver.c
src/xenvif/transmitter.c